Skip to content

Commit

Permalink
Fix BMP server and use adjRIBin factory (#339)
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Geiselhardt-Herms <[email protected]>
  • Loading branch information
taktv6 and Oliver Geiselhardt-Herms authored Jul 28, 2022
1 parent 6041589 commit c7cfe37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocols/bgp/server/fsm_address_family.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c7cfe37

Please sign in to comment.