diff options
author | Phil Sutter <phil@nwl.cc> | 2019-10-25 14:35:51 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2019-10-30 10:01:06 +0100 |
commit | 56fe510492bc2b95d84f7ab81a994b459076b7d1 (patch) | |
tree | 08a6b4ecc0d7b967d5fad04f68f0f52ea7444426 /iptables/ip6tables.c | |
parent | 6fee37cfe6bda343a0dd2497e560f83147a3f3e5 (diff) |
Replace TRUE/FALSE with true/false
And drop the conditional defines.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/ip6tables.c')
-rw-r--r-- | iptables/ip6tables.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/iptables/ip6tables.c b/iptables/ip6tables.c index e48fdeb1..576c2cf8 100644 --- a/iptables/ip6tables.c +++ b/iptables/ip6tables.c @@ -45,14 +45,6 @@ #include "ip6tables-multi.h" #include "xshared.h" -#ifndef TRUE -#define TRUE 1 -#endif -#ifndef FALSE -#define FALSE 0 -#endif - - #define NUMBER_OF_OPT ARRAY_SIZE(optflags) static const char optflags[] = { 'n', 's', 'd', 'p', 'j', 'v', 'x', 'i', 'o', '0', 'c'}; @@ -1525,7 +1517,7 @@ int do_command6(int argc, char *argv[], char **table, xtables_error(PARAMETER_PROBLEM, "multiple consecutive ! not" " allowed"); - cs.invert = TRUE; + cs.invert = true; optarg[0] = '\0'; continue; } @@ -1537,12 +1529,12 @@ int do_command6(int argc, char *argv[], char **table, /* * If new options were loaded, we must retry * getopt immediately and not allow - * cs.invert=FALSE to be executed. + * cs.invert=false to be executed. */ continue; break; } - cs.invert = FALSE; + cs.invert = false; } if (!wait && wait_interval_set) |