summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/peer.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/peer.go b/server/peer.go
index d191e734..8d517dee 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -171,7 +171,9 @@ func (peer *Peer) processOutgoingPaths(paths, withdrawals []*table.Path) []*tabl
outgoing := make([]*table.Path, 0, len(paths))
for _, path := range withdrawals {
if path.IsLocal() {
- outgoing = append(outgoing, path)
+ if _, ok := peer.fsm.rfMap[path.GetRouteFamily()]; ok {
+ outgoing = append(outgoing, path)
+ }
}
}