diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2005-02-08 20:02:28 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2005-02-08 20:02:28 +0000 |
commit | 6731d6eb86c5fbdb1ffdd1d167162594c8b8beb7 (patch) | |
tree | 85a8acf3b6f19d0ac71b1e7d8b17225f609f3a7c /userspace/ebtables2/communication.c | |
parent | bb1e6769f539ac3fcb3a44a6591c9ff6a5cb534e (diff) |
general cleanup + add -C and -c
Diffstat (limited to 'userspace/ebtables2/communication.c')
-rw-r--r-- | userspace/ebtables2/communication.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/userspace/ebtables2/communication.c b/userspace/ebtables2/communication.c index f712b2b..e93217a 100644 --- a/userspace/ebtables2/communication.c +++ b/userspace/ebtables2/communication.c @@ -362,6 +362,7 @@ void ebt_deliver_counters(struct ebt_u_replace *u_repl, int exec_style) old++; /* We've set a new counter */ new++; + next = next->next; } else if (cc->type == CNT_DEL) { /* Don't use this old counter */ old++; @@ -373,9 +374,9 @@ void ebt_deliver_counters(struct ebt_u_replace *u_repl, int exec_style) old++; new++; } + next = next->next; } cc = cc->next; - next = next->next; } free(u_repl->counters); |