Author: kp Date: Thu Nov 8 21:53:09 2018 New Revision: 340264 URL: https://svnweb.freebsd.org/changeset/base/340264
Log: pfctl: Populate ifname in ifa_lookup() pfctl_adjust_skip_ifaces() relies on this name. MFC after: 2 weeks Modified: head/sbin/pfctl/pfctl_parser.c Modified: head/sbin/pfctl/pfctl_parser.c ============================================================================== --- head/sbin/pfctl/pfctl_parser.c Thu Nov 8 21:36:45 2018 (r340263) +++ head/sbin/pfctl/pfctl_parser.c Thu Nov 8 21:53:09 2018 (r340264) @@ -1403,6 +1403,7 @@ ifa_lookup(const char *ifa_name, int flags) set_ipmask(n, 128); } n->ifindex = p->ifindex; + n->ifname = strdup(p->ifname); n->next = NULL; n->tail = n; _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"