diff --git a/protocols/bgp/server/server.go b/protocols/bgp/server/server.go index 8a11cd3a0641c6ff926ddc4459da157d7273db44..f50def76491201ff604a098195fb658d08dbb769 100644 --- a/protocols/bgp/server/server.go +++ b/protocols/bgp/server/server.go @@ -8,7 +8,7 @@ import ( "github.com/bio-routing/bio-rd/config" "github.com/bio-routing/bio-rd/protocols/bgp/packet" - "github.com/bio-routing/bio-rd/routingtable/locRIB" + "github.com/bio-routing/bio-rd/routingtable" log "github.com/sirupsen/logrus" ) @@ -84,7 +84,7 @@ func (b *BGPServer) incomingConnectionWorker() { } } -func (b *BGPServer) AddPeer(c config.Peer, rib *locRIB.LocRIB) error { +func (b *BGPServer) AddPeer(c config.Peer, rib routingtable.RouteTableClient) error { if c.LocalAS > uint16max || c.PeerAS > uint16max { return fmt.Errorf("32bit ASNs are not supported yet") }