diff options
author | Sebastien Estienne <sebastien.estienne@gmail.com> | 2005-10-18 12:35:58 +0000 |
---|---|---|
committer | Sebastien Estienne <sebastien.estienne@gmail.com> | 2005-10-18 12:35:58 +0000 |
commit | 6809fbfd5c22b4b4b27694296f891de656be49f0 (patch) | |
tree | daf7ec6b812b579387dfa105776532dbaa34efd1 /avahi-core | |
parent | c85c486e2e9d88df3f52ec5a0c27060d8f82db11 (diff) |
* added some fixes mentioned by mezcalero
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@807 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core')
-rw-r--r-- | avahi-core/iface-pfroute.c | 4 |
1 files changed, 3 insertions, 1 deletions
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."); } |