This commit is contained in:
Adam Ierymenko 2018-07-20 07:41:52 -07:00
commit 9bc11a369c

View file

@ -293,7 +293,7 @@ public:
#else #else
const bool gotViaProc = false; const bool gotViaProc = false;
#endif #endif
#if !defined(ZT_SDK) || !defined(__ANDROID__) // getifaddrs() freeifaddrs() not available on Android
if (!gotViaProc) { if (!gotViaProc) {
struct ifaddrs *ifatbl = (struct ifaddrs *)0; struct ifaddrs *ifatbl = (struct ifaddrs *)0;
struct ifaddrs *ifa; struct ifaddrs *ifa;
@ -325,6 +325,7 @@ public:
interfacesEnumerated = false; interfacesEnumerated = false;
} }
} }
#endif
#endif #endif
} else { } else {