[LEDE-DEV] [PATCH mdns] Send A(AAA) records when announcing

Rafał Miłecki zajec5 at gmail.com
Thu Feb 9 01:11:16 PST 2017


From: Rafał Miłecki <rafal at milecki.pl>

This allows device to be discovered by its local hostname.

Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 announce.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/announce.c b/announce.c
index 03c7b8f..ad129c0 100644
--- a/announce.c
+++ b/announce.c
@@ -66,6 +66,7 @@ announce_timer(struct uloop_timeout *timeout)
 
 		case STATE_ANNOUNCE:
 			service_announce(iface, announce_ttl);
+			dns_reply_a(iface, announce_ttl);
 			uloop_timeout_set(timeout, announce_ttl * 800);
 			break;
 	}
-- 
2.11.0




More information about the Lede-dev mailing list