freebsd-dev/sbin/pfctl
Kristof Provost 0c156a3c32 pfctl: Another set skip <group> fix
When retrieving the list of group members we cannot simply use
ifa_lookup(), because it expects the interface to have an IP (v4 or v6)
address. This means that interfaces with no address are not found.
This presents as interfacing being alternately marked as skip and not
whenever the rules are re-loaded.

Happily we only need to fix ifa_grouplookup(). Teach it to also accept
AF_LINK (i.e. interface) node_hosts.

PR:     	250994
MFC after:	3 days
2021-01-11 22:30:44 +01:00
..
tests [pfctl_tests] Add missing void to empty function declaration 2020-10-15 14:56:51 +00:00
Makefile pfctl: Stop sharing pf_ruleset.c with the kernel 2021-01-05 23:35:37 +01:00
Makefile.depend
parse.y
pf_print_state.c
pf_ruleset.c pfctl: Stop sharing pf_ruleset.c with the kernel 2021-01-05 23:35:37 +01:00
pf.os
pfctl_altq.c
pfctl_optimize.c
pfctl_osfp.c
pfctl_parser.c pfctl: Another set skip <group> fix 2021-01-11 22:30:44 +01:00
pfctl_parser.h
pfctl_qstats.c
pfctl_radix.c
pfctl_table.c
pfctl.8
pfctl.c
pfctl.h