From: Lennart Poettering Date: Mon, 21 Aug 2006 20:02:00 +0000 (+0000) Subject: don't remove static services from the avahi daemon on SIGHUP. Add static hosts proper... X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=2376babecb8f095a2bcbea3c3cbb3b1109291869;p=catta don't remove static services from the avahi daemon on SIGHUP. Add static hosts properly to avahi daemon on SIGHUP. (closes #52) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1249 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c index 0c85760..12a721a 100644 --- a/avahi-daemon/main.c +++ b/avahi-daemon/main.c @@ -683,7 +683,7 @@ static void signal_callback(AvahiWatch *watch, AVAHI_GCC_UNUSED int fd, AVAHI_GC static_hosts_load(0); #endif static_service_add_to_server(); - static_service_remove_from_server(); + static_hosts_add_to_server(); if (resolv_conf_entry_group) avahi_s_entry_group_reset(resolv_conf_entry_group);