From: Phil Sutter <phil@nwl.cc>
To: netfilter-devel@vger.kernel.org
Subject: [iptables PATCH 5/5] xshared: iptables does not support '-b'
Date: Wed, 9 Oct 2024 12:50:37 +0200 [thread overview]
Message-ID: <20241009105037.30114-6-phil@nwl.cc> (raw)
In-Reply-To: <20241009105037.30114-1-phil@nwl.cc>
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iptables/xshared.h b/iptables/xshared.h
index 0018b7c70bd83..a111e79793b54 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"
--
2.43.0
next prev parent reply other threads:[~2024-10-09 10:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-09 10:50 [iptables PATCH 0/5] Some minor fixes Phil Sutter
2024-10-09 10:50 ` [iptables PATCH 1/5] tests: iptables-test: Append stderr output to log file Phil Sutter
2024-10-09 10:50 ` [iptables PATCH 2/5] man: xtables-legacy.8: Join two paragraphs Phil Sutter
2024-10-09 10:50 ` [iptables PATCH 3/5] man: ebtables-nft.8: Note that --concurrent is a NOP Phil Sutter
2024-10-09 10:50 ` [iptables PATCH 4/5] gitignore: Ignore generated arptables-translate.8 Phil Sutter
2024-10-09 10:50 ` Phil Sutter [this message]
2024-10-16 13:33 ` [iptables PATCH 0/5] Some minor fixes Phil Sutter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241009105037.30114-6-phil@nwl.cc \
--to=phil@nwl.cc \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).