diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/server.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go index 3aff34a6..9b684afc 100644 --- a/server/server.go +++ b/server/server.go @@ -361,7 +361,11 @@ func (server *BgpServer) Serve() { continue } for _, rf := range peer.configuredRFlist() { - pathList = append(pathList, p.adjRib.GetInPathList(rf)...) + for _, path := range p.adjRib.GetInPathList(rf) { + if path.Filtered == false { + pathList = append(pathList, path) + } + } } } pathList, _ = peer.ApplyPolicy(table.POLICY_DIRECTION_IMPORT, pathList) |