summaryrefslogtreecommitdiffhomepage
path: root/table/policy.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/policy.go')
-rw-r--r--table/policy.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/table/policy.go b/table/policy.go
index 0692a066..06674e1f 100644
--- a/table/policy.go
+++ b/table/policy.go
@@ -2649,6 +2649,9 @@ func (r *RoutingPolicy) ApplyPolicy(id string, dir PolicyDirection, before *Path
if filtered := before.Filtered(id); filtered > POLICY_DIRECTION_NONE && filtered < dir {
return nil
}
+ if before.IsWithdraw {
+ return before
+ }
result := ROUTE_TYPE_NONE
after := before
for _, p := range r.GetPolicy(id, dir) {