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 5f92d690..90c73469 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -459,6 +459,7 @@ func (peer *Peer) ApplyPolicy(d PolicyDirection, paths []*table.Path) ([]*table.
switch result {
case policy.ROUTE_TYPE_ACCEPT:
+ path.Filtered = false
newpaths = append(newpaths, newpath)
case policy.ROUTE_TYPE_REJECT:
path.Filtered = true