Return to af_inet.c CVS log | Up to [cvs.NetBSD.org] / src / sbin / ifconfig |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.26, 2019/08/16 10:33:17 | version 1.27, 2020/04/10 14:32:50 | ||
---|---|---|---|
|
|
||
if (prog_ioctl(s, SIOCGIFAFLAG_IN, &ifr) == -1) | if (prog_ioctl(s, SIOCGIFAFLAG_IN, &ifr) == -1) | ||
err(EXIT_FAILURE, "SIOCGIFAFLAG_IN"); | err(EXIT_FAILURE, "SIOCGIFAFLAG_IN"); | ||
return ifr.ifr_addrflags & flags ? true : false; | return ifr.ifr_addrflags & flags ? true : false; | ||
return false; | |||
} | } | ||
#endif | #endif | ||