Change-Id: I8c20606d386d713cac51b620d1fcdb479a3622fe
if (strcmp(devtype, "wwan") == 0)
return NET_TYPE_OTHER;
if (strcmp(devtype, "wwan") == 0)
return NET_TYPE_OTHER;
-
- return NET_TYPE_OTHER;
#elif __OpenBSD__
/*
*First determine if the device is a wireless device by trying two ioctl(2)
#elif __OpenBSD__
/*
*First determine if the device is a wireless device by trying two ioctl(2)
close(s);
return NET_TYPE_ETHERNET;
}
close(s);
return NET_TYPE_ETHERNET;
}
-#else
-#error Missing implementation to determine interface type.
}
const char *first_eth_interface(const net_type_t type) {
}
const char *first_eth_interface(const net_type_t type) {