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

John Crispin john at phrozen.org
Thu Feb 9 06:12:33 PST 2017



On 09/02/2017 10:11, Rafał Miłecki wrote:
> 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>

Acked-by: John Crispin <john at phrozen.org>

> ---
>  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;
>  	}
> 



More information about the Lede-dev mailing list