From 30a7f11234a81bd2389c7e7224769b1fdd192239 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 24 Jan 2024 23:29:46 +0100 Subject: 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 --- extensions/libip6t_ah.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libip6t_ah.t') diff --git a/extensions/libip6t_ah.t b/extensions/libip6t_ah.t index 77c5383c..eeba7b45 100644 --- a/extensions/libip6t_ah.t +++ b/extensions/libip6t_ah.t @@ -18,4 +18,4 @@ -m ah --ahspi :3;-m ah --ahspi 0:3;OK -m ah --ahspi 3:;-m ah --ahspi 3:4294967295;OK -m ah --ahspi 3:3;-m ah --ahspi 3;OK --m ah --ahspi 4:3;=;OK +-m ah --ahspi 4:3;;FAIL -- cgit v1.2.3