]> git.meshlink.io Git - catta/blobdiff - avahi-core/iface-linux.c
fix avahi_interface_monitor_sync() for the linux NETLINK implementation
[catta] / avahi-core / iface-linux.c
index bc871524cb4d93971202610b21a70e51f6d995d3..4fc4addfd49cf6e37f4e48314a7f891ae6765ee3 100644 (file)
@@ -352,10 +352,9 @@ void avahi_interface_monitor_sync(AvahiInterfaceMonitor *m) {
     /* Let's handle netlink events until we are done with wild
      * dumping */
     
-    while (m->osdep.list != LIST_DONE) {
+    while (!m->list_complete)
         if (!avahi_netlink_work(m->osdep.netlink, 1) == 0)
             break;
-    }
 
     /* At this point Avahi knows about all local interfaces and
      * addresses in existance. */