diff options
author | Florian Westphal <fw@strlen.de> | 2018-06-15 11:08:27 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-06-15 11:18:53 +0200 |
commit | ae6e159a78c1431d3382af192c509d80fab25ce4 (patch) | |
tree | 4e4d66bb71d6a12c53d419f9e37c0353cf2698d0 /extensions/libxt_set.man | |
parent | 107b7ebf33059799e8674a80a46507678e0bfd70 (diff) |
xtables: remove dead code inherited from ebtables
previous patch shows this problem:
xtables-eb.c: In function ‘parse_change_counters_rule’:
xtables-eb.c:534:65: warning: logical ‘and’ of mutually exclusive tests is always false [-Wlogical-op]
(argv[optind + 1][0] == '-' && (argv[optind + 1][1] < '0' && argv[optind + 1][1] > '9')))
... so this never worked. Just remove it, the arg will be fed to
strtol() -- No need to do this check.
Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1149
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libxt_set.man')
0 files changed, 0 insertions, 0 deletions