summaryrefslogtreecommitdiffhomepage
path: root/server/peer.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/peer.go
parentb7d8d53c486eff0370e9908e75a97b7d8816725c (diff)
config: change the structure of Neighbor.RouteServer as the Neighbor.RouteReflector
Diffstat (limited to 'server/peer.go')
-rw-r--r--server/peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/peer.go b/server/peer.go
index 66b4c3a8..39859c3c 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -83,7 +83,7 @@ func NewPeer(g config.Global, conf config.Neighbor) *Peer {
}
func (peer *Peer) isRouteServerClient() bool {
- return peer.conf.RouteServer.RouteServerClient
+ return peer.conf.RouteServer.RouteServerConfig.RouteServerClient
}
func (peer *Peer) configuredRFlist() []bgp.RouteFamily {