summaryrefslogtreecommitdiffhomepage
path: root/api/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/util.go')
-rw-r--r--api/util.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/api/util.go b/api/util.go
index 53a94ed3..9a16bef5 100644
--- a/api/util.go
+++ b/api/util.go
@@ -135,9 +135,6 @@ func (p *Path) ToNativePath(option ...ToNativeOption) (*table.Path, error) {
})
path.MarkStale(p.Stale)
path.SetUUID(p.Uuid)
- if p.Filtered {
- path.Filter("", table.POLICY_DIRECTION_IN)
- }
path.IsNexthopInvalid = p.IsNexthopInvalid
return path, nil
}