Keep source sockaddr for every cached DNS record
[project/mdnsd.git] / announce.c
index 7bbce4a..fed1b21 100644 (file)
@@ -65,8 +65,8 @@ announce_timer(struct uloop_timeout *timeout)
                        /* Fall through */
 
                case STATE_ANNOUNCE:
-                       dns_reply_a(iface, announce_ttl);
-                       service_announce(iface, announce_ttl);
+                       dns_reply_a(iface, NULL, announce_ttl);
+                       service_announce_services(iface, NULL, announce_ttl);
                        uloop_timeout_set(timeout, announce_ttl * 800);
                        break;
        }