diff options
Diffstat (limited to 'table/policy.go')
-rw-r--r-- | table/policy.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/table/policy.go b/table/policy.go index aa359a4d..5916d0a3 100644 --- a/table/policy.go +++ b/table/policy.go @@ -2789,7 +2789,7 @@ func (r *RoutingPolicy) ApplyPolicy(id string, dir PolicyDirection, before *Path result := ROUTE_TYPE_NONE after := before for _, p := range r.getPolicy(id, dir) { - result, after = p.Apply(before, options) + result, after = p.Apply(after, options) if result != ROUTE_TYPE_NONE { break } |