Date: Thu, 8 Nov 2018 21:53:09 +0000 (UTC) From: Kristof Provost <kp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r340264 - head/sbin/pfctl Message-ID: <201811082153.wA8Lr9mR092723@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811082153.wA8Lr9mR092723>