ubus: assume that the service iface can be NULL
[project/mdnsd.git] / announce.c
index 3c8ea1623f53c9e7c7c137ead855cde6e7e1c8a2..a56227762fa8d75449457b61a9e5e6ffcbbdc0af 100644 (file)
@@ -65,7 +65,8 @@ announce_timer(struct uloop_timeout *timeout)
                        /* Fall through */
 
                case STATE_ANNOUNCE:
-                       dns_reply_a(iface, NULL, announce_ttl);
+                       dns_reply_a(iface, NULL, announce_ttl, NULL);
+                       dns_reply_a_additional(iface, NULL, announce_ttl);
                        service_announce_services(iface, NULL, announce_ttl);
                        uloop_timeout_set(timeout, announce_ttl * 800);
                        break;