From: c vw <dl1ycf@darc.de>
Date: Wed, 15 Jan 2020 14:47:14 +0000 (+0100)
Subject: Removed leftovers of RADIOBERRY special code
X-Git-Url: https://git.rkrishnan.org/vdrive/components/frontends/%22file://%22%22?a=commitdiff_plain;h=1d6625e6409031f2b6f556145ebfde7739db1ee2;p=pihpsdr.git

Removed leftovers of RADIOBERRY special code
---

diff --git a/old_discovery.c b/old_discovery.c
index 70f458e..9f065b7 100644
--- a/old_discovery.c
+++ b/old_discovery.c
@@ -518,18 +518,22 @@ fprintf(stderr,"old_discovery\n");
     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;
     }