X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fmdnsd.git;a=blobdiff_plain;f=service.c;fp=service.c;h=f45784b69eb428690f539c7558a152abdad43d61;hp=a3a5bb49be452382d803b56d3a315f923f1faf85;hb=dfdebdd97909ebbefac4834d440847fe58daafb2;hpb=55a5d75b5c051c5828b0b6390726b8353f909b3c diff --git a/service.c b/service.c index a3a5bb4..f45784b 100644 --- a/service.c +++ b/service.c @@ -153,12 +153,6 @@ service_reply(struct interface *iface, const char *match, int ttl) vlist_for_each_element(&services, s, node) service_reply_single(iface, s, match, ttl, 0); - - if (match) - return; - - if (ttl) - dns_reply_a(iface, ttl); } void