]> git.meshlink.io Git - catta/commitdiff
* added some fixes mentioned by mezcalero
authorSebastien Estienne <sebastien.estienne@gmail.com>
Tue, 18 Oct 2005 12:35:58 +0000 (12:35 +0000)
committerSebastien Estienne <sebastien.estienne@gmail.com>
Tue, 18 Oct 2005 12:35:58 +0000 (12:35 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@807 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-core/iface-pfroute.c

index 894e02693c4ab6bcaad8c7b705f5fd31cfd283d0..0a94bb8c7ffbbc7069649eef01343281ebf4c3eb 100644 (file)
@@ -320,7 +320,8 @@ void avahi_interface_monitor_free_osdep(AvahiInterfaceMonitor *m) {
       
       if (m->osdep.pfroute->fd >= 0)
         close(m->osdep.pfroute->fd);
-      
+
+      avahi_free(m->osdep.pfroute);
       m->osdep.pfroute = NULL;
     }
 }
@@ -330,6 +331,7 @@ void avahi_interface_monitor_sync(AvahiInterfaceMonitor *m) {
 
     wild_dump_interfaces(m);
     m->list_complete = 1;
+    avahi_interface_monitor_check_relevant(m);
     avahi_interface_monitor_update_rrs(m, 0);
     avahi_log_info("Network interface enumeration completed.");
 }