From c7cfe37df6f556a1ffcddda2e5d44b8c725ef8ed Mon Sep 17 00:00:00 2001 From: takt Date: Thu, 28 Jul 2022 11:25:13 +0200 Subject: [PATCH] Fix BMP server and use adjRIBin factory (#339) Co-authored-by: Oliver Geiselhardt-Herms --- protocols/bgp/server/fsm_address_family.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/bgp/server/fsm_address_family.go b/protocols/bgp/server/fsm_address_family.go index 9fba5ec9..334577aa 100644 --- a/protocols/bgp/server/fsm_address_family.go +++ b/protocols/bgp/server/fsm_address_family.go @@ -107,7 +107,7 @@ func (f *fsmAddressFamily) init(n *routingtable.Neighbor) { } func (f *fsmAddressFamily) bmpInit() { - f.adjRIBIn = adjRIBIn.New(filter.NewAcceptAllFilterChain(), &routingtable.ContributingASNs{}, f.fsm.peer.routerID, f.fsm.peer.clusterID, f.addPathRX) + f.adjRIBIn = f.fsm.peer.adjRIBInFactory.New(filter.NewAcceptAllFilterChain(), &routingtable.ContributingASNs{}, f.fsm.peer.routerID, f.fsm.peer.clusterID, f.addPathRX) if f.rib != nil { f.adjRIBIn.Register(f.rib)