X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=announce.c;h=fed1b212fe2fb5a754a7429a5a9c7f8a5179c9e3;hb=e1bacef27d869234149951cc7f4c9d3e0d8f07ad;hp=d1aca5bd661a34d6a1881bbad561d958ca21b78a;hpb=9bbaf3c1f7826a7ac637ac0e2e7c8d5b43bac89d;p=project%2Fmdnsd.git diff --git a/announce.c b/announce.c index d1aca5b..fed1b21 100644 --- a/announce.c +++ b/announce.c @@ -62,9 +62,11 @@ announce_timer(struct uloop_timeout *timeout) return; } iface->announce_state++; + /* Fall through */ case STATE_ANNOUNCE: - 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; }