From d2ced8273cf812ca2ac61f407e6992e63bc1821d Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Sun, 23 Jan 2005 19:19:00 +0000 Subject: add new counter scheme --- libebtc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libebtc.c') diff --git a/libebtc.c b/libebtc.c index 0fef235..03b7bfe 100644 --- a/libebtc.c +++ b/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"); -- cgit v1.2.3