freebsd-dev/sbin/pfctl
Kristof Provost 58c8430a32 pfctl: teach route-to to deal with interfaces with multiple addresses
The route_host parsing code set the interface name, but only for the first
node_host in the list. If that one happened to be the inet6 address and the
rule wanted an inet address it'd get removed by remove_invalid_hosts() later
on, and we'd have no interface name.

We must set the interface name for all node_host entries in the list, not just
the first one.

PR:		223208
MFC after:	2 weeks
2017-11-15 12:27:02 +00:00
..
tests DIRDEPS_BUILD: Connect new directories. 2017-10-31 00:04:07 +00:00
Makefile Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
parse.y pfctl: teach route-to to deal with interfaces with multiple addresses 2017-11-15 12:27:02 +00:00
pf_print_state.c Make pfctl(8) work on strict-alignment platforms, by copying a pair of 2016-01-30 22:03:14 +00:00
pfctl_altq.c pfctl: Make most global variables static. 2016-08-04 19:24:44 +00:00
pfctl_optimize.c Fix improper use of "its". 2016-11-08 23:59:41 +00:00
pfctl_osfp.c pfctl: Make most global variables static. 2016-08-04 19:24:44 +00:00
pfctl_parser.c pf: remove fastroute tag 2016-10-04 19:35:14 +00:00
pfctl_parser.h Add ALTQ(9) support for the CoDel algorithm. 2015-08-21 22:02:22 +00:00
pfctl_qstats.c Add ALTQ(9) support for the CoDel algorithm. 2015-08-21 22:02:22 +00:00
pfctl_radix.c pfctl: Use const where possible. 2016-08-02 20:32:02 +00:00
pfctl_table.c o Create directory sys/netpfil, where all packet filters should 2012-09-14 11:51:49 +00:00
pfctl.8 Note the version PF first appeared in FreeBSD & from which version it was ported from. 2016-10-03 00:35:14 +00:00
pfctl.c pfctl: fix nested inline anchors 2016-11-10 18:41:43 +00:00
pfctl.h o Create directory sys/netpfil, where all packet filters should 2012-09-14 11:51:49 +00:00