summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_NFLOG.t
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2022-02-12 16:58:32 +0000
committerFlorian Westphal <fw@strlen.de>2022-02-13 22:20:19 +0100
commita3980769541f6deb8d7b185de488dec6f40092f1 (patch)
tree4e2c150e33418cff32613e1120d265d9c5b1abf8 /extensions/libxt_NFLOG.t
parentb8e8ac272efdb0bb42fafe629dbe04c69290c281 (diff)
tests: NFLOG: enable `--nflog-range` tests
iptables-legacy and iptable-nft have different results for these tests. Now that it is possible to specify the expected results correctly, we can enable the tests. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libxt_NFLOG.t')
-rw-r--r--extensions/libxt_NFLOG.t12
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/libxt_NFLOG.t b/extensions/libxt_NFLOG.t
index 561ec8c7..25f332ae 100644
--- a/extensions/libxt_NFLOG.t
+++ b/extensions/libxt_NFLOG.t
@@ -3,12 +3,12 @@
-j NFLOG --nflog-group 65535;=;OK
-j NFLOG --nflog-group 65536;;FAIL
-j NFLOG --nflog-group 0;-j NFLOG;OK
-# `--nflog-range` is broken and only supported by xtables-legacy. It
-# has been superseded by `--nflog--group`.
-# -j NFLOG --nflog-range 1;=;OK
-# -j NFLOG --nflog-range 4294967295;=;OK
-# -j NFLOG --nflog-range 4294967296;;FAIL
-# -j NFLOG --nflog-range -1;;FAIL
+# `--nflog-range` is broken and only supported by xtables-legacy.
+# It has been superseded by `--nflog--group`.
+-j NFLOG --nflog-range 1;=;OK;LEGACY;NOMATCH
+-j NFLOG --nflog-range 4294967295;=;OK;LEGACY;NOMATCH
+-j NFLOG --nflog-range 4294967296;;FAIL
+-j NFLOG --nflog-range -1;;FAIL
-j NFLOG --nflog-size 0;=;OK
-j NFLOG --nflog-size 1;=;OK
-j NFLOG --nflog-size 4294967295;=;OK