CVSROOT: /cvs Module name: src Changes by: henn...@cvs.openbsd.org 2012/09/18 04:11:53
Modified files: sbin/pfctl : parse.y pfctl_parser.c sys/net : pf.c pf_ioctl.c pfvar.h usr.sbin/ftp-proxy: filter.c usr.sbin/relayd: pfe_filter.c Log message: 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