summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-07-20 09:00:23 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-07-26 08:09:02 +0900
commitc99e499bce7a33feee36240b4d72acde8b0cb3d5 (patch)
tree3b39e2ba9bb2560e51d5a551c9dd3351a5e3347a /server
parent2454d5e09db560ad7dd4b7fff243d74d88be11ae (diff)
server: remove unnecessary Filter() in rs
RS peers and non RS peers uses different tables so no need to filter paths from rs clients for non rs clients. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server')
-rw-r--r--server/server.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go
index f5e00b5f..fa606c44 100644
--- a/server/server.go
+++ b/server/server.go
@@ -664,7 +664,6 @@ func (server *BgpServer) propagateUpdate(peer *Peer, pathList []*table.Path) {
rib = server.rsRib
for _, path := range pathList {
path.Filter(peer.ID(), table.POLICY_DIRECTION_IMPORT)
- path.Filter(table.GLOBAL_RIB_NAME, table.POLICY_DIRECTION_IMPORT)
}
moded := make([]*table.Path, 0)
for _, targetPeer := range server.neighborMap {