]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: fix harmess typo in table name
authorFlorian Westphal <fw@strlen.de>
Mon, 23 Oct 2017 08:47:58 +0000 (10:47 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 26 Oct 2017 21:46:10 +0000 (23:46 +0200)
table name should be 'test-ip', not inet.

Signed-off-by: Florian Westphal <fw@strlen.de>
tests/py/ip/ip_tcp.t
tests/py/ip/ip_tcp.t.payload

index a97833ff02a35532285a23e113031762f7521080..450df7271bf68e2618653f78cc80ac06df603aea 100644 (file)
@@ -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
index 4f3d962e3ba9661b987c4ef2508c493ebbdc5ec1..f6f640d43865b8be25334185c4de494774522d2e 100644 (file)
@@ -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 ]