From: Rafał Miłecki Date: Thu, 9 Feb 2017 09:11:16 +0000 (+0100) Subject: Send A(AAA) records when announcing X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=61869f3c0e0576263b90f4d494e4c7e439e98818;p=oweals%2Fmdnsd.git Send A(AAA) records when announcing This allows device to be discovered by its local hostname. Signed-off-by: Rafał Miłecki Acked-by: John Crispin --- diff --git a/announce.c b/announce.c index 03c7b8f..7bbce4a 100644 --- a/announce.c +++ b/announce.c @@ -65,6 +65,7 @@ announce_timer(struct uloop_timeout *timeout) /* Fall through */ case STATE_ANNOUNCE: + dns_reply_a(iface, announce_ttl); service_announce(iface, announce_ttl); uloop_timeout_set(timeout, announce_ttl * 800); break;