From: Sebastien Estienne Date: Tue, 18 Oct 2005 12:35:58 +0000 (+0000) Subject: * added some fixes mentioned by mezcalero X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=6809fbfd5c22b4b4b27694296f891de656be49f0;p=catta * added some fixes mentioned by mezcalero git-svn-id: file:///home/lennart/svn/public/avahi/trunk@807 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-core/iface-pfroute.c b/avahi-core/iface-pfroute.c index 894e026..0a94bb8 100644 --- a/avahi-core/iface-pfroute.c +++ b/avahi-core/iface-pfroute.c @@ -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."); }