diff options
Diffstat (limited to 'server/peer.go')
-rw-r--r-- | server/peer.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/peer.go b/server/peer.go index 4be180a5..3bdd9965 100644 --- a/server/peer.go +++ b/server/peer.go @@ -636,8 +636,8 @@ func (peer *Peer) startFSMHandler(incoming *channels.InfiniteChannel, stateCh ch peer.fsm.h = NewFSMHandler(peer.fsm, incoming, stateCh, peer.outgoing) } -func (peer *Peer) StaleAll(rfList []bgp.RouteFamily) { - peer.adjRibIn.StaleAll(rfList) +func (peer *Peer) StaleAll(rfList []bgp.RouteFamily) []*table.Path { + return peer.adjRibIn.StaleAll(rfList) } func (peer *Peer) PassConn(conn *net.TCPConn) { |