summaryrefslogtreecommitdiffhomepage
path: root/server/server.go
diff options
context:
space:
mode:
authorNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-08-05 13:56:53 +0900
committerNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-08-05 15:05:12 +0900
commitca99c628a1a1aa65b3a32d42117d0ed712330b68 (patch)
treeddb6fd236a2a6b5a25654fa0db3566611bab4526 /server/server.go
parentb7d8d53c486eff0370e9908e75a97b7d8816725c (diff)
config: change the structure of Neighbor.RouteServer as the Neighbor.RouteReflector
Diffstat (limited to 'server/server.go')
-rw-r--r--server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go
index 78d1928e..984762e6 100644
--- a/server/server.go
+++ b/server/server.go
@@ -246,7 +246,7 @@ func (server *BgpServer) Serve() {
peer := NewPeer(g, config)
name := config.NeighborConfig.NeighborAddress.String()
- if config.RouteServer.RouteServerClient == true {
+ if config.RouteServer.RouteServerConfig.RouteServerClient {
loc := NewLocalRib(name, peer.configuredRFlist(), make(map[string]*policy.Policy))
server.addLocalRib(loc)
loc.setPolicy(peer, server.policyMap)