when you specify queues in a rule, make sure they have been defined.
authorpelikan <pelikan@openbsd.org>
Sat, 23 Aug 2014 00:11:03 +0000 (00:11 +0000)
committerpelikan <pelikan@openbsd.org>
Sat, 23 Aug 2014 00:11:03 +0000 (00:11 +0000)
commitb2e3e909a01cf40b23f7613172345ab3dc53584e
tree62de0d4b3138559d7c4d849452a7d88af3c2a661
parentbe14597995499c5e3908927ef30778158955be40
when you specify queues in a rule, make sure they have been defined.

DIOCADDRULE EBUSY turns into an error message that pfctl -n catches.
DIOCXCOMMIT EINVAL after the kernel rejected the rules was reported
to occur, possibly from hfsc.c: this should be fixed as well.

ok henning mikeb sthen
regress/sbin/pfctl/Makefile
regress/sbin/pfctl/pfail54.in [new file with mode: 0644]
regress/sbin/pfctl/pfail54.ok [new file with mode: 0644]
sbin/pfctl/parse.y
sbin/pfctl/pfctl.c
sbin/pfctl/pfctl_parser.h