diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-08-05 22:23:56 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-08-05 22:23:56 +0900 |
commit | ed4e3422e2aef8545c5043d72733d82dcc1fe5b8 (patch) | |
tree | 1f900808334334f4165cc31c3391930fc2169d39 /server | |
parent | ad4bfac371e545e2713e9157cc6e5f6af5278635 (diff) |
server: fix commit mess up
route server config has changed.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server')
-rw-r--r-- | server/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go index 46184697..6a3962d2 100644 --- a/server/server.go +++ b/server/server.go @@ -305,7 +305,7 @@ func (server *BgpServer) Serve() { case config := <-server.updatedPeerCh: addr := config.NeighborConfig.NeighborAddress.String() peer := server.neighborMap[addr] - if peer.conf.RouteServer.RouteServerClient == true { + if peer.isRouteServerClient() { peer.conf.ApplyPolicy = config.ApplyPolicy loc := server.localRibMap[addr] loc.setPolicy(peer, server.policyMap) |