Add missing 'struct ifreq ifr;' that was forgotten in the last commit.
This commit is contained in:
parent
89b0ba9b30
commit
d637e9891d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94348
@ -1845,6 +1845,7 @@ if_setlladdr(struct ifnet *ifp, const u_char *lladdr, int len)
|
||||
{
|
||||
struct sockaddr_dl *sdl;
|
||||
struct ifaddr *ifa;
|
||||
struct ifreq ifr;
|
||||
|
||||
ifa = ifaddr_byindex(ifp->if_index);
|
||||
if (ifa == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user