summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/meta.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip/meta.t')
-rw-r--r--tests/py/ip/meta.t9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/py/ip/meta.t b/tests/py/ip/meta.t
new file mode 100644
index 00000000..31c99500
--- /dev/null
+++ b/tests/py/ip/meta.t
@@ -0,0 +1,9 @@
+:input;type filter hook input priority 0
+
+*ip;test-ip4;input
+
+icmp type echo-request;ok
+meta l4proto icmp icmp type echo-request;ok;icmp type echo-request
+meta l4proto ipv6-icmp icmpv6 type nd-router-advert;ok;meta l4proto 58 icmpv6 type nd-router-advert
+meta l4proto 58 icmpv6 type nd-router-advert;ok
+icmpv6 type nd-router-advert;fail