summaryrefslogtreecommitdiffstats
path: root/tests/py/ip
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-03-15 14:21:56 +0100
committerFlorian Westphal <fw@strlen.de>2017-03-16 10:10:05 +0100
commit8d9e663e64be13edc6192e8b2d756c391709d4ca (patch)
tree248b127e0fa75da4eb0ac37d640cdc25bbbfa6f1 /tests/py/ip
parent8675f943e7eff24f29aaa492cb58267f9291de31 (diff)
tests: add insert-failure test
It should not be possible to add a ip6 restricted helper to ip family. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip')
-rw-r--r--tests/py/ip/objects.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/py/ip/objects.t b/tests/py/ip/objects.t
index ec8e8fd9..742ec6af 100644
--- a/tests/py/ip/objects.t
+++ b/tests/py/ip/objects.t
@@ -6,6 +6,7 @@
%cnt2 type counter;ok
%qt1 type quota 25 mbytes;ok
%qt2 type quota over 1 kbytes;ok
+%cthelp2 type ct helper { type \"ftp\" protocol tcp\; l3proto ip6\; };fail
ip saddr 192.168.1.3 counter name "cnt2";ok
ip saddr 192.168.1.3 counter name "cnt3";fail