From: Phil Sutter Date: Fri, 4 Oct 2024 21:00:11 +0000 (+0200) Subject: xshared: iptables does not support '-b' X-Git-Tag: v1.8.11~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=05af72ca6184f08435c1ef31436e1eb7ac931e14;p=thirdparty%2Fiptables.git xshared: iptables does not support '-b' This flag is merely known to iptables-restore but actively rejected there and it does not use IPT_OPTSTRING at all. Fixes: 384958620abab ("use nf_tables and nf_tables compatibility interface") Signed-off-by: Phil Sutter --- diff --git a/iptables/xshared.h b/iptables/xshared.h index 0018b7c7..a111e797 100644 --- a/iptables/xshared.h +++ b/iptables/xshared.h @@ -80,7 +80,7 @@ struct xtables_rule_match; struct xtables_target; #define OPTSTRING_COMMON "-:A:C:D:E:F::I:L::M:N:P:R:S::VX::Z::" "c:d:i:j:o:p:s:t:v" -#define IPT_OPTSTRING OPTSTRING_COMMON "W::" "46bfg:h::m:nw::x" +#define IPT_OPTSTRING OPTSTRING_COMMON "W::" "46fg:h::m:nw::x" #define ARPT_OPTSTRING OPTSTRING_COMMON "h::l:nx" /* "m:" */ #define EBT_OPTSTRING OPTSTRING_COMMON "h"