summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/peer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/peer.go b/server/peer.go
index a36c44a2..7029553a 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -446,6 +446,7 @@ func (peer *Peer) ApplyPolicy(d PolicyDirection, paths []*table.Path) []*table.P
peer.accepted += 1
}
case policy.ROUTE_TYPE_REJECT:
+ path.Filtered = true
log.WithFields(log.Fields{
"Topic": "Peer",
"Key": peer.conf.NeighborConfig.NeighborAddress,