summaryrefslogtreecommitdiffhomepage
path: root/table/adj.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/adj.go')
-rw-r--r--table/adj.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/adj.go b/table/adj.go
index 8d298be4..04dc714c 100644
--- a/table/adj.go
+++ b/table/adj.go
@@ -50,7 +50,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_IN {
adj.accepted[rf]--
}
}