From 31b483558f4eeaf311560f2c0f2aad6cb6bca250 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Sun, 21 Jul 2002 19:35:39 +0000 Subject: relocate counterchanges --- userspace/ebtables2/include/ebtables_u.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'userspace/ebtables2/include') diff --git a/userspace/ebtables2/include/ebtables_u.h b/userspace/ebtables2/include/ebtables_u.h index 7eff5b2..de67a8d 100644 --- a/userspace/ebtables2/include/ebtables_u.h +++ b/userspace/ebtables2/include/ebtables_u.h @@ -68,6 +68,8 @@ struct ebt_u_replace int selected_hook; // used for the atomic option char *filename; + // tells what happened to the old rules + unsigned short *counterchanges; }; struct ebt_u_table @@ -194,8 +196,7 @@ struct ebt_u_target *find_target(const char *name); struct ebt_u_match *find_match(const char *name); struct ebt_u_watcher *find_watcher(const char *name); struct ebt_u_table *find_table(char *name); -void deliver_counters(struct ebt_u_replace *repl, - unsigned short * counterchanges); +void deliver_counters(struct ebt_u_replace *repl); void deliver_table(struct ebt_u_replace *repl); void get_dbinfo(struct brdb_dbinfo *nr); void get_db(int len, struct brdb_dbentry *db); -- cgit v1.2.3