summaryrefslogtreecommitdiffstats
path: root/iptables/xtables.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-05-13 15:32:01 +0200
committerPhil Sutter <phil@nwl.cc>2019-10-30 10:01:02 +0100
commitf2690ca8428d29bfa4be3c28304813de65f10523 (patch)
tree22caf1cd662b769779774d50e3bb5cee0eb4bd28 /iptables/xtables.c
parent284a3e67563a8984fb0f513e1dc27a2364a12ce2 (diff)
Merge CMD_* defines
They are mostly identical, just xtables-arp ones differ slightly. Though since they are internal use only and their actual value doesn't matter (as long as it's a distinct bit), they can be merged anyway. Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xtables.c')
-rw-r--r--iptables/xtables.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/iptables/xtables.c b/iptables/xtables.c
index bb76e6a7..805bd801 100644
--- a/iptables/xtables.c
+++ b/iptables/xtables.c
@@ -50,8 +50,6 @@
#define FALSE 0
#endif
-#define NUMBER_OF_CMD 16
-
#define OPT_FRAGMENT 0x00800U
#define NUMBER_OF_OPT ARRAY_SIZE(optflags)
static const char optflags[]