diff options
Diffstat (limited to 'iptables/xtables-eb.c')
-rw-r--r-- | iptables/xtables-eb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/iptables/xtables-eb.c b/iptables/xtables-eb.c index 6aa1cba3..84d554e9 100644 --- a/iptables/xtables-eb.c +++ b/iptables/xtables-eb.c @@ -817,7 +817,6 @@ int do_commandeb(struct nft_handle *h, int argc, char *argv[], char **table, { char *buffer; int c, i; - int zerochain = -1; /* Needed for the -Z option (we can have -Z <this> -L <that>) */ int chcounter = 0; /* Needed for -C */ int rule_nr = 0; int rule_nr_end = 0; @@ -968,7 +967,6 @@ print_zero: if (OPT_COMMANDS) xtables_error(PARAMETER_PROBLEM, "Multiple commands are not allowed"); - command = 'V'; printf("%s %s (nf_tables)\n", prog_name, prog_vers); exit(0); case 'h': /* Help */ @@ -1303,7 +1301,6 @@ print_zero: flags&LIST_C); } if (flags & OPT_ZERO) { - selected_chain = zerochain; ret = nft_chain_zero_counters(h, chain, *table, 0); } else if (command == 'F') { ret = nft_rule_flush(h, chain, *table, 0); |