diff options
Diffstat (limited to 'pkg/server/peer.go')
-rw-r--r-- | pkg/server/peer.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/server/peer.go b/pkg/server/peer.go index f7b89371..7d85ec52 100644 --- a/pkg/server/peer.go +++ b/pkg/server/peer.go @@ -558,6 +558,6 @@ func (peer *peer) PassConn(conn *net.TCPConn) { } } -func (peer *peer) DropAll(rfList []bgp.RouteFamily) { - peer.adjRibIn.Drop(rfList) +func (peer *peer) DropAll(rfList []bgp.RouteFamily) []*table.Path { + return peer.adjRibIn.Drop(rfList) } |