diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2013-02-18 14:48:14 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2013-02-18 14:48:14 +0000 |
commit | db294c686ab28b18455805547d2aa0a8f3ca8516 (patch) | |
tree | 6507da6e6bcedcecf4517e7695a74ede109f250c /sys/net | |
parent | 3b5e457298e5fbfc6a534c428dbd8d40507319c1 (diff) |
DIOCRCLRASTATS ioctl wasn't specifying a timestamp when cleared
table statistics so it appeared later on as the Epoch. Noticed
by [the] Shining on bugs@. Thanks!
ok sthen, waver from deraadt
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pf_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_table.c b/sys/net/pf_table.c index 21d9fb2ec73..c9661f5f08e 100644 --- a/sys/net/pf_table.c +++ b/sys/net/pf_table.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_table.c,v 1.96 2013/01/16 09:18:34 markus Exp $ */ +/* $OpenBSD: pf_table.c,v 1.97 2013/02/18 14:48:13 mikeb Exp $ */ /* * Copyright (c) 2002 Cedric Berger @@ -703,7 +703,7 @@ pfr_clr_astats(struct pfr_table *tbl, struct pfr_addr *addr, int size, } if (!(flags & PFR_FLAG_DUMMY)) { - pfr_clstats_kentries(&workq, 0, 0); + pfr_clstats_kentries(&workq, time_second, 0); } if (nzero != NULL) *nzero = xzero; |