You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.3 KiB
32 lines
1.3 KiB
From 436dd5a6ba5639c8e83183f6252ce7bd37760e1c Mon Sep 17 00:00:00 2001
|
|
From: Phil Sutter <phil@nwl.cc>
|
|
Date: Sun, 19 Nov 2023 13:25:36 +0100
|
|
Subject: [PATCH] xshared: All variants support -v, update OPTSTRING_COMMON
|
|
|
|
Fixes: 51d9d9e081344 ("ebtables: Support verbose mode")
|
|
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
|
(cherry picked from commit 9a9ff768cab58aea02828e422184873e52e9846a)
|
|
---
|
|
iptables/xshared.h | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/iptables/xshared.h b/iptables/xshared.h
|
|
index c77556a1987dc..815b9d3e98726 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.
|