From 9a9ff768cab58aea02828e422184873e52e9846a Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Sun, 19 Nov 2023 13:25:36 +0100 Subject: xshared: All variants support -v, update OPTSTRING_COMMON Fixes: 51d9d9e081344 ("ebtables: Support verbose mode") Signed-off-by: Phil Sutter --- iptables/xshared.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'iptables') diff --git a/iptables/xshared.h b/iptables/xshared.h index c77556a1..815b9d3e 100644 --- a/iptables/xshared.h +++ b/iptables/xshared.h @@ -75,10 +75,10 @@ struct xtables_globals; struct xtables_rule_match; struct xtables_target; -#define OPTSTRING_COMMON "-:A:C:D:E:F::I:L::M:N:P:VX::Z::" "c:d:i:j:o:p:s:t:" -#define IPT_OPTSTRING OPTSTRING_COMMON "R:S::W::" "46bfg:h::m:nvw::x" -#define ARPT_OPTSTRING OPTSTRING_COMMON "R:S::" "h::l:nvx" /* "m:" */ -#define EBT_OPTSTRING OPTSTRING_COMMON "hv" +#define OPTSTRING_COMMON "-:A:C:D:E:F::I:L::M:N:P:VX::Z::" "c:d:i:j:o:p:s:t:v" +#define IPT_OPTSTRING OPTSTRING_COMMON "R:S::W::" "46bfg:h::m:nw::x" +#define ARPT_OPTSTRING OPTSTRING_COMMON "R:S::" "h::l:nx" /* "m:" */ +#define EBT_OPTSTRING OPTSTRING_COMMON "h" /* define invflags which won't collide with IPT ones. * arptables-nft does NOT use the legacy ARPT_INV_* defines. -- cgit v1.2.3