From: Phil Sutter Date: Tue, 27 Sep 2022 16:53:50 +0000 (+0200) Subject: ebtables: Drop unused OPT_* defines X-Git-Tag: v1.8.9~118 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e8fce1d700d068f7cebf009ee02b85623be2d4c4;p=thirdparty%2Fiptables.git ebtables: Drop unused OPT_* defines Obviously copied from legacy ebtables, not needed by ebtables-nft. OPT_CNT_* ones seem not even used in legacy anymore. Signed-off-by: Phil Sutter --- diff --git a/iptables/xtables-eb.c b/iptables/xtables-eb.c index b986fd9e..3887ea1a 100644 --- a/iptables/xtables-eb.c +++ b/iptables/xtables-eb.c @@ -168,10 +168,7 @@ int ebt_get_current_chain(const char *chain) #define OPT_ZERO 0x100 #define OPT_LOGICALIN 0x200 #define OPT_LOGICALOUT 0x400 -#define OPT_KERNELDATA 0x800 /* This value is also defined in ebtablesd.c */ #define OPT_COUNT 0x1000 /* This value is also defined in libebtc.c */ -#define OPT_CNT_INCR 0x2000 /* This value is also defined in libebtc.c */ -#define OPT_CNT_DECR 0x4000 /* This value is also defined in libebtc.c */ /* Default command line options. Do not mess around with the already * assigned numbers unless you know what you are doing */