svn commit: r340779 - stable/11/sbin/pfctl
Kristof Provost
kp at FreeBSD.org
Thu Nov 22 19:59:05 UTC 2018
Author: kp
Date: Thu Nov 22 19:59:04 2018
New Revision: 340779
URL: https://svnweb.freebsd.org/changeset/base/340779
Log:
MFC r340264:
pfctl: Populate ifname in ifa_lookup()
pfctl_adjust_skip_ifaces() relies on this name.
Modified:
stable/11/sbin/pfctl/pfctl_parser.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sbin/pfctl/pfctl_parser.c
==============================================================================
--- stable/11/sbin/pfctl/pfctl_parser.c Thu Nov 22 19:59:02 2018 (r340778)
+++ stable/11/sbin/pfctl/pfctl_parser.c Thu Nov 22 19:59:04 2018 (r340779)
@@ -1404,6 +1404,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;
More information about the svn-src-stable
mailing list