projects
/
platform
/
upstream
/
ebtables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6d728a
)
bugfix: setting rule in first built-in chain caused setting all counters to zero...
author
Bart De Schuymer
<bdschuym@pandora.be>
Thu, 15 Dec 2011 19:39:00 +0000
(19:39 +0000)
committer
Bart De Schuymer
<bdschuym@pandora.be>
Thu, 15 Dec 2011 19:39:00 +0000
(19:39 +0000)
communication.c
patch
|
blob
|
history
diff --git
a/communication.c
b/communication.c
index
f19bda4
..
62ed667
100644
(file)
--- a/
communication.c
+++ b/
communication.c
@@
-295,7
+295,7
@@
void ebt_deliver_counters(struct ebt_u_replace *u_repl)
struct ebt_cntchanges *cc = u_repl->cc->next, *cc2;
struct ebt_u_entries *entries = NULL;
struct ebt_u_entry *next = NULL;
- int i, chainnr =
0
;
+ int i, chainnr =
-1
;
if (u_repl->nentries == 0)
return;