summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/libebtc.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2005-01-23 19:19:00 +0000
committerBart De Schuymer <bdschuym@pandora.be>2005-01-23 19:19:00 +0000
commit47562ffe28221404498d72f4dd114af6892d91e5 (patch)
tree51d5ccdcebf748e0cd64b840f22fc751f9b78a6f /userspace/ebtables2/libebtc.c
parentea0490ce62b0e8c429fbeb9c76379b84633bab8c (diff)
add new counter scheme
Diffstat (limited to 'userspace/ebtables2/libebtc.c')
-rw-r--r--userspace/ebtables2/libebtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/userspace/ebtables2/libebtc.c b/userspace/ebtables2/libebtc.c
index 0fef235..03b7bfe 100644
--- a/userspace/ebtables2/libebtc.c
+++ b/userspace/ebtables2/libebtc.c
@@ -171,6 +171,7 @@ void ebt_initialize_entry(struct ebt_u_entry *e)
e->w_list = NULL;
e->t = (struct ebt_entry_target *)ebt_find_target(EBT_STANDARD_TARGET);
ebt_find_target(EBT_STANDARD_TARGET)->used = 1;
+ e->cnt.pcnt = e->cnt.bcnt = 0;
if (!e->t)
ebt_print_bug("Couldn't load standard target");