diff options
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r-- | sys/net/pf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index 22013eb2aa1..35d8b3e3392 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.770 2011/08/03 12:28:40 mpf Exp $ */ +/* $OpenBSD: pf.c,v 1.771 2011/08/30 00:40:47 mikeb Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -3105,6 +3105,9 @@ pf_test_rule(struct pf_rule **rm, struct pf_state **sm, int direction, } #endif + if (r->rule_flag & PFRULE_ONCE) + pf_purge_rule(ruleset, r); + return (PF_PASS); cleanup: |