Add missing 'struct ifreq ifr;' that was forgotten in the last commit.

This commit is contained in:
Peter Wemm 2002-04-10 06:07:16 +00:00
parent 89b0ba9b30
commit d637e9891d

View File

@ -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)