summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/meta.t
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-12-18 12:10:41 +0100
committerFlorian Westphal <fw@strlen.de>2020-01-03 13:09:56 +0100
commit09fcaafc5a2de4379574a0882f976a14d8c49dfe (patch)
treef3e6a40abeac0ac40fa42f81aaded9f9d41b93d3 /tests/py/ip/meta.t
parentb5932e4283a7249fc51e221b31da282adce156bf (diff)
meta: add slave device matching
Adds "meta sdif" and "meta sdifname". Both only work in input/forward hook of ipv4/ipv6/inet family. Cc: Martin Willi <martin@strongswan.org> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/ip/meta.t')
-rw-r--r--tests/py/ip/meta.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/py/ip/meta.t b/tests/py/ip/meta.t
index 4db88354..f733d22d 100644
--- a/tests/py/ip/meta.t
+++ b/tests/py/ip/meta.t
@@ -10,3 +10,6 @@ icmpv6 type nd-router-advert;ok
meta ibrname "br0";fail
meta obrname "br0";fail
+
+meta sdif "lo" accept;ok
+meta sdifname != "vrf1" accept;ok