while (ifa) {
g_main_context_iteration(NULL, 0);
if (ifa->ifa_addr && ifa->ifa_addr->sa_family == AF_INET) {
- #ifdef RADIOBERRY
+#if 0
+//
+// used to be a hook for RADIOBERRY, but does is really need the
+// loopback interface?
+//
if((ifa->ifa_flags&IFF_UP)==IFF_UP
&& (ifa->ifa_flags&IFF_RUNNING)==IFF_RUNNING) {
discover(ifa);
}
- #else
+#else
if((ifa->ifa_flags&IFF_UP)==IFF_UP
&& (ifa->ifa_flags&IFF_RUNNING)==IFF_RUNNING
&& (ifa->ifa_flags&IFF_LOOPBACK)!=IFF_LOOPBACK) {
discover(ifa);
}
- #endif
+#endif
}
ifa = ifa->ifa_next;
}