summaryrefslogtreecommitdiffhomepage
path: root/server/fsm.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/fsm.go')
-rw-r--r--server/fsm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/fsm.go b/server/fsm.go
index 556e1029..c3c2910e 100644
--- a/server/fsm.go
+++ b/server/fsm.go
@@ -999,7 +999,7 @@ func open2Cap(open *bgp.BGPOpen, n *config.Neighbor) (map[bgp.BGPCapabilityCode]
capMap[bgp.BGP_CAP_MULTIPROTOCOL] = []bgp.ParameterCapabilityInterface{bgp.NewCapMultiProtocol(bgp.RF_IPv4_UC)}
}
- local := config.CreateRfMap(n)
+ local := n.CreateRfMap()
remote := make(map[bgp.RouteFamily]bgp.BGPAddPathMode)
for _, c := range capMap[bgp.BGP_CAP_MULTIPROTOCOL] {
family := c.(*bgp.CapMultiProtocol).CapValue