From e85e4738380cda7523939e4f7a43c1858f0232d2 Mon Sep 17 00:00:00 2001 From: David Girault Date: Mon, 10 Jun 2019 15:08:19 +0200 Subject: [PATCH] mdns: remove service TXT record from probe packets TXT records isn't required to be unique in network, so it shouldn't be included in probe packets. Additionnaly, when TXT record is present, the Bonjour Conformance Test from Apple Inc. always fail because generated probe nevert have TXT record. Signed-off-by: Simon Goldschmidt --- src/apps/mdns/mdns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/mdns/mdns.c b/src/apps/mdns/mdns.c index 5899a210..a386e9fc 100644 --- a/src/apps/mdns/mdns.c +++ b/src/apps/mdns/mdns.c @@ -2140,7 +2140,7 @@ mdns_define_probe_rrs_to_send(struct netif *netif, struct mdns_outmsg *outmsg) for (i = 0; i < MDNS_MAX_SERVICES; i++) { struct mdns_service *serv = mdns->services[i]; if (serv) { - outmsg->serv_replies[i] = REPLY_SERVICE_SRV | REPLY_SERVICE_TXT; + outmsg->serv_replies[i] = REPLY_SERVICE_SRV; } } }