summaryrefslogtreecommitdiff
path: root/usr.sbin/portmap
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2012-09-18 10:11:54 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2012-09-18 10:11:54 +0000
commit5cbfd54d42fca4aae4acd938c65ea1462689056e (patch)
treecd21cf7c5166aa9ed1a3882488e060208a8ad522 /usr.sbin/portmap
parent44e67610ead05537f054eb6709008a692dfd8021 (diff)
prio 0 is valid, therefore, I chose an "impossible" value for prio meaning
"not set" and used a PF_PRIO_NOTSET define for it. now that means that everything that creates a struct pf_rule doesn't get away with bzero'ing it, which turned out to be not so nice. so get rid of PF_PRIO_NOTSET, instead, make a rule+state flag PFSTATE_SETPRIO which indicates wether the prio should be set. ok benno claudio mikeb
Diffstat (limited to 'usr.sbin/portmap')
0 files changed, 0 insertions, 0 deletions