summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_ipcomp.t
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-01-24 23:29:46 +0100
committerPhil Sutter <phil@nwl.cc>2024-02-02 18:26:14 +0100
commit30a7f11234a81bd2389c7e7224769b1fdd192239 (patch)
tree7b4a1674937105e49e531f06e49b7309596759a9 /extensions/libxt_ipcomp.t
parent285406b1d22e3ed0aec30ea0a534ea76211156a9 (diff)
libxtables: xtoptions: Assert ranges are monotonic increasing
Extensions commonly require the upper range value to be larger or equal to the lower one. Performing this check in the parser is easier and covers all extensions at once. One notable exception is NFQUEUE which requires strict monotonicity. Hence leave its checks in place. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libxt_ipcomp.t')
-rw-r--r--extensions/libxt_ipcomp.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_ipcomp.t b/extensions/libxt_ipcomp.t
index f62144ae..375f885a 100644
--- a/extensions/libxt_ipcomp.t
+++ b/extensions/libxt_ipcomp.t
@@ -7,4 +7,4 @@
-p ipcomp -m ipcomp --ipcompspi 4:;-p ipcomp -m ipcomp --ipcompspi 4:4294967295;OK
-p ipcomp -m ipcomp --ipcompspi 3:4;=;OK
-p ipcomp -m ipcomp --ipcompspi 4:4;-p ipcomp -m ipcomp --ipcompspi 4;OK
--p ipcomp -m ipcomp --ipcompspi 4:3;=;OK
+-p ipcomp -m ipcomp --ipcompspi 4:3;;FAIL