]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
xshared: iptables does not support '-b'
authorPhil Sutter <phil@nwl.cc>
Fri, 4 Oct 2024 21:00:11 +0000 (23:00 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 16 Oct 2024 13:31:44 +0000 (15:31 +0200)
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 <phil@nwl.cc>
iptables/xshared.h

index 0018b7c70bd83c7ef9fd788372a151fcfd36fd59..a111e79793b546ecd83e42462d5941c96a274283 100644 (file)
@@ -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"