]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
ebtables: Drop unused OPT_* defines
authorPhil Sutter <phil@nwl.cc>
Tue, 27 Sep 2022 16:53:50 +0000 (18:53 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 28 Sep 2022 12:21:13 +0000 (14:21 +0200)
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 <phil@nwl.cc>
iptables/xtables-eb.c

index b986fd9e84799bbbf6a411a8d6fce71be0005612..3887ea1a39f279cd3d7c443fa12ddcc2218b1cc6 100644 (file)
@@ -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 */