From 61869f3c0e0576263b90f4d494e4c7e439e98818 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Thu, 9 Feb 2017 10:11:16 +0100 Subject: [PATCH] Send A(AAA) records when announcing MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This allows device to be discovered by its local hostname. Signed-off-by: Rafał Miłecki Acked-by: John Crispin --- announce.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.11.0