diff --git a/config/BUILD.bazel b/config/BUILD.bazel index 0597dcfbcb0107809739ca60ba91eb748ba56d5c..59561fc18788143092394d865b43cd731773674e 100644 --- a/config/BUILD.bazel +++ b/config/BUILD.bazel @@ -12,6 +12,7 @@ go_library( "//net:go_default_library", "//routingtable:go_default_library", "//routingtable/filter:go_default_library", + "//routingtable/locRIB:go_default_library", "//vendor/github.com/taktv6/tflow2/convert:go_default_library", ], ) diff --git a/config/peer.go b/config/peer.go index 1ed2ed05113c265d1dc4fe6b8e890f2f4a8e6fbf..82a9f61f56fea089384b18ada019d4192834d6ea 100644 --- a/config/peer.go +++ b/config/peer.go @@ -3,11 +3,10 @@ package config import ( "time" - "github.com/bio-routing/bio-rd/routingtable/locRIB" - bnet "github.com/bio-routing/bio-rd/net" "github.com/bio-routing/bio-rd/routingtable" "github.com/bio-routing/bio-rd/routingtable/filter" + "github.com/bio-routing/bio-rd/routingtable/locRIB" ) // Peer defines the configuration for a BGP session diff --git a/protocols/bgp/server/withdraw_test.go b/protocols/bgp/server/withdraw_test.go index 693cbb4ee4c3c204692a0082b24905bb3257f03a..17cb8751b8673dab38920a55db79699f6c643fb4 100644 --- a/protocols/bgp/server/withdraw_test.go +++ b/protocols/bgp/server/withdraw_test.go @@ -1,18 +1,15 @@ package server import ( + "bytes" + "errors" "testing" + "github.com/bio-routing/bio-rd/net" "github.com/bio-routing/bio-rd/protocols/bgp/packet" - "github.com/bio-routing/bio-rd/protocols/bgp/types" - - "errors" - - "bytes" - - "github.com/bio-routing/bio-rd/net" "github.com/bio-routing/bio-rd/route" + "github.com/stretchr/testify/assert" )