summaryrefslogtreecommitdiff
path: root/communication.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2002-07-21 19:35:39 +0000
committerBart De Schuymer <bdschuym@pandora.be>2002-07-21 19:35:39 +0000
commited05343c06ef23d38c2f7ed886ba5d40cfb994b4 (patch)
tree4a2b879a38b5811a3747cec8449b4031a244b844 /communication.c
parent2268250719338ccc6fccf9c2bc9382a90e9e4d8c (diff)
downloadebtables-ed05343c06ef23d38c2f7ed886ba5d40cfb994b4.tar.gz
relocate counterchanges
Diffstat (limited to 'communication.c')
-rw-r--r--communication.c3
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;