diff options
author | Cedric Berger <cedric@cvs.openbsd.org> | 2003-03-31 13:15:28 +0000 |
---|---|---|
committer | Cedric Berger <cedric@cvs.openbsd.org> | 2003-03-31 13:15:28 +0000 |
commit | fa932dda5f8f8360321603acbdb07be2276ac4e5 (patch) | |
tree | fa6db2bfc77ec4f3553a2e25c63ded724ee4228f /sys/net/pfvar.h | |
parent | 2cc11e6cce4589a9b1cbf6dbb79d8f914ac91616 (diff) |
Only delete rule structure when no state refer to it.
Fix a bunch of issues.
Removal of unneeded (r != null) tests coming soon...
ok dhartmei@
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 25deb2de2a6..e7bb4ec08e5 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.136 2003/03/03 14:33:17 cedric Exp $ */ +/* $OpenBSD: pfvar.h,v 1.137 2003/03/31 13:15:27 cedric Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -975,6 +975,8 @@ extern struct ifnet *status_ifp; extern int *pftm_timeouts[PFTM_MAX]; extern void pf_addrcpy(struct pf_addr *, struct pf_addr *, u_int8_t); +void pf_rm_rule(struct pf_rulequeue *, + struct pf_rule *); #ifdef INET int pf_test(int, struct ifnet *, struct mbuf **); |