From ff587205009a0d49e2d086765de87dc619b028bb Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Tue, 8 Feb 2005 20:02:28 +0000 Subject: general cleanup + add -C and -c --- communication.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'communication.c') diff --git a/communication.c b/communication.c index f712b2b..e93217a 100644 --- a/communication.c +++ b/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); -- cgit v1.2.3