summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-10-04 23:00:11 +0200
committerPhil Sutter <phil@nwl.cc>2024-10-16 15:31:44 +0200
commit05af72ca6184f08435c1ef31436e1eb7ac931e14 (patch)
treecfa3e21aeb3a09571cd8f0b5f11cbb3b90d7f781
parent9a9f19bd46968ed9a50a782b3755994e01651a21 (diff)
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 <phil@nwl.cc>
-rw-r--r--iptables/xshared.h2
1 files changed, 1 insertions, 1 deletions
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"