From 1d6625e6409031f2b6f556145ebfde7739db1ee2 Mon Sep 17 00:00:00 2001
From: c vw <dl1ycf@darc.de>
Date: Wed, 15 Jan 2020 15:47:14 +0100
Subject: [PATCH] Removed leftovers of RADIOBERRY special code

---
 old_discovery.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

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;
     }
-- 
2.45.2