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

This commit is contained in:
peter 2002-04-10 06:07:16 +00:00
parent f82415e09a
commit eebbc6fbb5

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)