summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--table/adj.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/adj.go b/table/adj.go
index 04dc714c..5e685f2e 100644
--- a/table/adj.go
+++ b/table/adj.go
@@ -91,7 +91,7 @@ func (adj *AdjRib) PathList(rfList []bgp.RouteFamily, accepted bool) []*Path {
pathList := make([]*Path, 0, adj.Count(rfList))
for _, rf := range rfList {
for _, rr := range adj.table[rf] {
- if accepted && rr.Filtered(adj.id) > POLICY_DIRECTION_NONE {
+ if accepted && rr.Filtered(adj.id) == POLICY_DIRECTION_IN {
continue
}
pathList = append(pathList, rr)