From 6809fbfd5c22b4b4b27694296f891de656be49f0 Mon Sep 17 00:00:00 2001 From: Sebastien Estienne Date: Tue, 18 Oct 2005 12:35:58 +0000 Subject: [PATCH] * added some fixes mentioned by mezcalero git-svn-id: file:///home/lennart/svn/public/avahi/trunk@807 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/iface-pfroute.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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."); } -- 2.39.5