ifp = ifaddr_byindex(name[0])->ifa_ifp;
if ((ifp = ifaddr_byindex(name[0])->ifa_ifp) == NULL)
--
return (ENOENT);