From ca99c628a1a1aa65b3a32d42117d0ed712330b68 Mon Sep 17 00:00:00 2001 From: Naoto Hanaue Date: Wed, 5 Aug 2015 13:56:53 +0900 Subject: config: change the structure of Neighbor.RouteServer as the Neighbor.RouteReflector --- server/peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/peer.go') 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 { -- cgit v1.2.3