freebsd-skq/sbin/pfctl
kp 88e3fcf359 pfctl: Fix ifgroup check
We cannot just assume that any name which ends with a letter is a group
That's not been true since we allowed renaming of network interfaces. It's also
not true for things like epair0a.

Try to retrieve the group members for the name to check, since we'll get ENOENT
if the group doesn't exist.

MFC after:	1 week
Event:		Aberdeen hackathon 2019
2019-04-19 10:52:54 +00:00
..
tests
Makefile
Makefile.depend
parse.y
pf_print_state.c
pf.os
pfctl_altq.c
pfctl_optimize.c
pfctl_osfp.c
pfctl_parser.c
pfctl_parser.h
pfctl_qstats.c
pfctl_radix.c
pfctl_table.c
pfctl.8
pfctl.c
pfctl.h