diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-10-24 09:07:39 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-10-24 09:07:39 +0000 |
commit | 71053e77ef9992202954b14bf527d338dfb8bf8b (patch) | |
tree | 81521583afd5c1426bebe47ea1886f17f18c6155 /sys/net/pf.c | |
parent | eab5bb6ef68fa95fb6284b5c03d7bb44ccbead8a (diff) |
Reset states counter when clearing states.
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r-- | sys/net/pf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index 84e0d8ec9ce..38388fbbb14 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.163 2001/10/15 16:22:21 dhartmei Exp $ */ +/* $OpenBSD: pf.c,v 1.164 2001/10/24 09:07:38 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1885,6 +1885,7 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) n = pf_tree_next(n)) n->state->expire = 0; pf_purge_expired_states(); + pf_status.states = 0; splx(s); break; } |