summaryrefslogtreecommitdiffstats
path: root/avahi-core/multicast-lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/multicast-lookup.c')
-rw-r--r--avahi-core/multicast-lookup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/avahi-core/multicast-lookup.c b/avahi-core/multicast-lookup.c
index fa8c859..8101df5 100644
--- a/avahi-core/multicast-lookup.c
+++ b/avahi-core/multicast-lookup.c
@@ -114,9 +114,10 @@ AvahiMulticastLookup *avahi_multicast_lookup_new(
avahi_querier_add_for_all(e->server, interface, protocol, l->key, &tv);
l->queriers_added = 1;
- /* add a second */
+ /* Add a second */
avahi_timeval_add(&tv, 1000000);
+ /* Issue the ALL_FOR_NOW event one second after the querier was initially created */
l->all_for_now_event = avahi_time_event_new(e->server->time_event_queue, &tv, all_for_now_callback, l);
return l;