diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-07-21 19:35:39 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-07-21 19:35:39 +0000 |
commit | ed05343c06ef23d38c2f7ed886ba5d40cfb994b4 (patch) | |
tree | 4a2b879a38b5811a3747cec8449b4031a244b844 /communication.c | |
parent | 2268250719338ccc6fccf9c2bc9382a90e9e4d8c (diff) | |
download | ebtables-ed05343c06ef23d38c2f7ed886ba5d40cfb994b4.tar.gz |
relocate counterchanges
Diffstat (limited to 'communication.c')
-rw-r--r-- | communication.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/communication.c b/communication.c index c245514..d0f4139 100644 --- a/communication.c +++ b/communication.c @@ -296,12 +296,13 @@ static void store_counters_in_file(char *filename, struct ebt_u_replace *repl) // gets executed after deliver_table void -deliver_counters(struct ebt_u_replace *u_repl, unsigned short *counterchanges) +deliver_counters(struct ebt_u_replace *u_repl) { unsigned short *point; struct ebt_counter *old, *new, *newcounters; socklen_t optlen; struct ebt_replace repl; + unsigned short *counterchanges = u_repl->counterchanges; if (u_repl->nentries == 0) return; |