diff options
Diffstat (limited to 'userspace/arptables/libarptc')
-rw-r--r-- | userspace/arptables/libarptc/libarptc_incl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/userspace/arptables/libarptc/libarptc_incl.c b/userspace/arptables/libarptc/libarptc_incl.c index 6322ba3..2fa3d43 100644 --- a/userspace/arptables/libarptc/libarptc_incl.c +++ b/userspace/arptables/libarptc/libarptc_incl.c @@ -1248,7 +1248,6 @@ TC_ZERO_COUNTER(const ARPT_CHAINLABEL chain, unsigned int rulenum, TC_HANDLE_T *handle) { - STRUCT_ENTRY *e; struct chain_cache *c; unsigned int chainindex, end; @@ -1268,8 +1267,6 @@ TC_ZERO_COUNTER(const ARPT_CHAINLABEL chain, return 0; } - e = index2entry(*handle, chainindex + rulenum); - if ((*handle)->counter_map[chainindex + rulenum].maptype == COUNTER_MAP_NORMAL_MAP) { (*handle)->counter_map[chainindex + rulenum].maptype |