Fix/change comment format about port 5353
[project/mdnsd.git] / announce.c
index 3ff64b2..03c7b8f 100644 (file)
@@ -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, 0);
+                       dns_send_question(iface, mdns_hostname_local, TYPE_ANY, 1);
                        uloop_timeout_set(timeout, 250);
                        iface->announce_state++;
                        break;
@@ -62,6 +62,7 @@ announce_timer(struct uloop_timeout *timeout)
                                return;
                        }
                        iface->announce_state++;
+                       /* Fall through */
 
                case STATE_ANNOUNCE:
                        service_announce(iface, announce_ttl);