summaryrefslogtreecommitdiffhomepage
path: root/table/policy_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/policy_test.go')
-rw-r--r--table/policy_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/policy_test.go b/table/policy_test.go
index 63cbb546..e5bc52c9 100644
--- a/table/policy_test.go
+++ b/table/policy_test.go
@@ -2687,7 +2687,7 @@ func TestLocalPrefAction(t *testing.T) {
attrs := []bgp.PathAttributeInterface{origin, aspath, nexthop, med}
path := NewPath(nil, nlri, false, attrs, time.Now(), false)
- p := action.Apply(path)
+ p := action.Apply(path, nil)
assert.NotNil(t, p)
attr := path.getPathAttr(bgp.BGP_ATTR_TYPE_LOCAL_PREF)