pfctl: Populate ifname in ifa_lookup()
pfctl_adjust_skip_ifaces() relies on this name. MFC after: 2 weeks
This commit is contained in:
parent
8f04c0c06b
commit
0f9e47a9c4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user