Finally implement what's stated in the man page regarding parent
authormikeb <mikeb@openbsd.org>
Tue, 12 Aug 2014 15:29:33 +0000 (15:29 +0000)
committermikeb <mikeb@openbsd.org>
Tue, 12 Aug 2014 15:29:33 +0000 (15:29 +0000)
commit7b8072cec770783f0772643a99481ce3d117023e
tree0ce7188281b80e6247024695e58b2ae600754a09
parentd8655cf92797fb8b6fa628d120dcb2b9a1c2bd36
Finally implement what's stated in the man page regarding parent
anchors for "once" rules: "In case this is the only rule in the
anchor, the anchor will be destroyed automatically after the rule
is matched."  Employ an additional pointer pair to keep track of
the parent ruleset containing the anchor that we want to remove.

OK henning
sys/net/pf.c
sys/net/pf_ioctl.c
sys/net/pfvar.h