From 09fcaafc5a2de4379574a0882f976a14d8c49dfe Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Wed, 18 Dec 2019 12:10:41 +0100 Subject: 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 Signed-off-by: Florian Westphal --- tests/py/ip/meta.t | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/py/ip/meta.t') 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 -- cgit v1.2.3