From: Phil Sutter Date: Sun, 19 Nov 2023 12:25:36 +0000 (+0100) Subject: xshared: All variants support -v, update OPTSTRING_COMMON X-Git-Tag: v1.8.11~165 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9a9ff768cab58aea02828e422184873e52e9846a;p=thirdparty%2Fiptables.git xshared: All variants support -v, update OPTSTRING_COMMON Fixes: 51d9d9e081344 ("ebtables: Support verbose mode") Signed-off-by: Phil Sutter --- 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.