diff options
author | Cedric Berger <cedric@cvs.openbsd.org> | 2002-12-30 15:39:19 +0000 |
---|---|---|
committer | Cedric Berger <cedric@cvs.openbsd.org> | 2002-12-30 15:39:19 +0000 |
commit | e2e6b939a31258fbb2f5079484e1dcbc1d8d7f86 (patch) | |
tree | 0549c00b217b7d0947d1a58b68c4c5c035f9a97c /sys | |
parent | 04b89707c46997322924b90c181fa1e8c0bc8541 (diff) |
Don't forget to copyout the time at which statistics got cleared.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/pf_table.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pf_table.c b/sys/net/pf_table.c index 2736219497d..f21f2e53f66 100644 --- a/sys/net/pf_table.c +++ b/sys/net/pf_table.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_table.c,v 1.3 2002/12/30 13:34:55 cedric Exp $ */ +/* $OpenBSD: pf_table.c,v 1.4 2002/12/30 15:39:18 cedric Exp $ */ /* * Copyright (c) 2002 Cedric Berger @@ -861,6 +861,7 @@ pfr_walktree(struct radix_node *rn, void *arg) bcopy(ke->pfrke_bytes, as.pfras_bytes, sizeof(as.pfras_bytes)); splx(s); + as.pfras_tzero = ke->pfrke_tzero; if (copyout(&as, w->pfrw_astats, sizeof(as))) return (EFAULT); |