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 d7a0555d..f7914557 100644
--- a/table/adj.go
+++ b/table/adj.go
@@ -49,7 +49,7 @@ func (adj *AdjRib) Update(pathList []*Path) {
if path.IsWithdraw {
if found {
delete(adj.table[rf], key)
- if old.Filtered(adj.id) > POLICY_DIRECTION_NONE {
+ if old.Filtered(adj.id) == POLICY_DIRECTION_NONE {
adj.accepted[rf]--
}
}