summaryrefslogtreecommitdiffstats
path: root/tests/py/ip
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-10-23 10:47:58 +0200
committerFlorian Westphal <fw@strlen.de>2017-10-26 23:46:10 +0200
commit26645d805b13dbb1db91773571b8d01e3213bda0 (patch)
tree1636d6952f90c504c3e4e8a833911c83dfe682da /tests/py/ip
parent94a945ffa81b7f1db250e519f0b4b808428ab223 (diff)
tests: fix harmess typo in table name
table name should be 'test-ip', not inet. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/ip')
-rw-r--r--tests/py/ip/ip_tcp.t2
-rw-r--r--tests/py/ip/ip_tcp.t.payload4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/py/ip/ip_tcp.t b/tests/py/ip/ip_tcp.t
index a97833ff..450df727 100644
--- a/tests/py/ip/ip_tcp.t
+++ b/tests/py/ip/ip_tcp.t
@@ -1,7 +1,7 @@
:input;type filter hook input priority 0
:ingress;type filter hook ingress device lo priority 0
-*ip;test-inet;input
+*ip;test-ip;input
# can remove ip dependency -- its redundant in ip family
ip protocol tcp tcp dport 22;ok;tcp dport 22
diff --git a/tests/py/ip/ip_tcp.t.payload b/tests/py/ip/ip_tcp.t.payload
index 4f3d962e..f6f640d4 100644
--- a/tests/py/ip/ip_tcp.t.payload
+++ b/tests/py/ip/ip_tcp.t.payload
@@ -1,12 +1,12 @@
# ip protocol tcp tcp dport 22
-ip test-inet input
+ip test-ip input
[ payload load 1b @ network header + 9 => reg 1 ]
[ cmp eq reg 1 0x00000006 ]
[ payload load 2b @ transport header + 2 => reg 1 ]
[ cmp eq reg 1 0x00001600 ]
# ip protocol tcp meta mark set 1 tcp dport 22
-ip test-inet input
+ip test-ip input
[ payload load 1b @ network header + 9 => reg 1 ]
[ cmp eq reg 1 0x00000006 ]
[ immediate reg 1 0x00000001 ]