svn commit: r340778 - stable/12/sbin/pfctl
Kristof Provost
kp at FreeBSD.org
Thu Nov 22 19:59:03 UTC 2018
Author: kp
Date: Thu Nov 22 19:59:02 2018
New Revision: 340778
URL: https://svnweb.freebsd.org/changeset/base/340778
Log:
MFC r340264:
pfctl: Populate ifname in ifa_lookup()
pfctl_adjust_skip_ifaces() relies on this name.
Modified:
stable/12/sbin/pfctl/pfctl_parser.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sbin/pfctl/pfctl_parser.c
==============================================================================
--- stable/12/sbin/pfctl/pfctl_parser.c Thu Nov 22 19:56:52 2018 (r340777)
+++ stable/12/sbin/pfctl/pfctl_parser.c Thu Nov 22 19:59:02 2018 (r340778)
@@ -1400,6 +1400,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