mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-23 06:35:57 +00:00
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 <goldsimon@gmx.de>
This commit is contained in:
parent
710b7fc158
commit
e85e473838
|
@ -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++) {
|
for (i = 0; i < MDNS_MAX_SERVICES; i++) {
|
||||||
struct mdns_service *serv = mdns->services[i];
|
struct mdns_service *serv = mdns->services[i];
|
||||||
if (serv) {
|
if (serv) {
|
||||||
outmsg->serv_replies[i] = REPLY_SERVICE_SRV | REPLY_SERVICE_TXT;
|
outmsg->serv_replies[i] = REPLY_SERVICE_SRV;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user