diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-11-04 23:50:41 -0700 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-11-04 23:50:41 -0700 |
commit | b01e402739c14a18efdf427f6c928ef1424e9a6c (patch) | |
tree | 938197d219aa220c0f88f72e5880500470903a8c /server/server.go | |
parent | 771d1f90afda5d789443108b65acaf1329b8573c (diff) |
allow route reflector client as vrf neighbor
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/server.go')
-rw-r--r-- | server/server.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/server/server.go b/server/server.go index bcf34bd3..c86b2af2 100644 --- a/server/server.go +++ b/server/server.go @@ -1660,9 +1660,6 @@ func (server *BgpServer) addNeighbor(c *config.Neighbor) error { if c.RouteServer.Config.RouteServerClient { return fmt.Errorf("route server client can't be enslaved to VRF") } - if c.RouteReflector.Config.RouteReflectorClient { - return fmt.Errorf("route reflector client can't be enslaved to VRF") - } families, _ := config.AfiSafis(c.AfiSafis).ToRfList() for _, f := range families { if f != bgp.RF_IPv4_UC && f != bgp.RF_IPv6_UC { |