From c6ddfb1d8ecc5944a775a458fbce648713ae3b02 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Wed, 20 Apr 2016 08:03:54 +0000 Subject: table: use received time as tie-breaker older path get preference can be disabled by `global.route-selection-options.external-compare-router-id = true` close #806 Signed-off-by: ISHIDA Wataru --- server/server.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/server.go') diff --git a/server/server.go b/server/server.go index c774e47e..605d9fe4 100644 --- a/server/server.go +++ b/server/server.go @@ -1660,6 +1660,8 @@ func (server *BgpServer) handleModConfig(grpcReq *GrpcRequest) error { return err } server.bgpConfig.Global = *c + // update route selection options + table.SelectionOptions = c.RouteSelectionOptions.Config case api.Operation_DEL_ALL: for k, _ := range server.neighborMap { _, err := server.handleGrpcModNeighbor(&GrpcRequest{ -- cgit v1.2.3