summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-05 22:23:56 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-05 22:23:56 +0900
commited4e3422e2aef8545c5043d72733d82dcc1fe5b8 (patch)
tree1f900808334334f4165cc31c3391930fc2169d39 /server
parentad4bfac371e545e2713e9157cc6e5f6af5278635 (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.go2
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)