]> git.meshlink.io Git - catta/commitdiff
don't remove static services from the avahi daemon on SIGHUP. Add static hosts proper...
authorLennart Poettering <lennart@poettering.net>
Mon, 21 Aug 2006 20:02:00 +0000 (20:02 +0000)
committerLennart Poettering <lennart@poettering.net>
Mon, 21 Aug 2006 20:02:00 +0000 (20:02 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1249 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-daemon/main.c

index 0c85760f6b7932c1ac9bee92b8ec4cf791162a14..12a721a7a25fcd6b7f276f61b0194f3b4f3746df 100644 (file)
@@ -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);