X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fmdnsd.git;a=blobdiff_plain;f=announce.c;h=3c8ea1623f53c9e7c7c137ead855cde6e7e1c8a2;hp=f04a6006c18f9d36041fadfc1b9a35e0b294587e;hb=HEAD;hpb=578616a31cd9ba01017f399f5d9a50481019889e diff --git a/announce.c b/announce.c index f04a600..3c8ea16 100644 --- a/announce.c +++ b/announce.c @@ -46,7 +46,7 @@ announce_timer(struct uloop_timeout *timeout) case STATE_PROBE1: case STATE_PROBE2: case STATE_PROBE3: - dns_send_question(iface, mdns_hostname_local, TYPE_ANY, 1); + dns_send_question(iface, NULL, mdns_hostname_local, TYPE_ANY, 1); uloop_timeout_set(timeout, 250); iface->announce_state++; break; @@ -65,8 +65,8 @@ announce_timer(struct uloop_timeout *timeout) /* Fall through */ case STATE_ANNOUNCE: - dns_reply_a(iface, announce_ttl); - service_announce_services(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; }