diff options
Diffstat (limited to 'server/peer.go')
-rw-r--r-- | server/peer.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/peer.go b/server/peer.go index ccb2538b..8687b106 100644 --- a/server/peer.go +++ b/server/peer.go @@ -167,6 +167,10 @@ func (peer *Peer) sendPathsToSiblings(pathList []table.Path) { msgData: pathList, } for _, s := range peer.siblings { + if peer.peerConfig.RouteServer.RouteServerClient && peer.peerConfig.PeerAs == s.As { + // don't send to a peer having the same AS number. + continue + } s.peerMsgCh <- pm } } |