mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 12:13:47 +00:00
mDNS: output search queries to the IP v4 and v6 groups.
These had been broadcasting to the *_ANY addresses.
This commit is contained in:
parent
c156cd2a33
commit
224b884c1e
@ -2572,10 +2572,10 @@ mdns_search_service(const char *name, const char *service, enum mdns_sd_proto pr
|
|||||||
*request_id = slot;
|
*request_id = slot;
|
||||||
/* now prepare a MDNS request and send it (on specified interface) */
|
/* now prepare a MDNS request and send it (on specified interface) */
|
||||||
#if LWIP_IPV6
|
#if LWIP_IPV6
|
||||||
mdns_send_request(req, netif, IP6_ADDR_ANY);
|
mdns_send_request(req, netif, &v6group);
|
||||||
#endif
|
#endif
|
||||||
#if LWIP_IPV4
|
#if LWIP_IPV4
|
||||||
mdns_send_request(req, netif, IP4_ADDR_ANY);
|
mdns_send_request(req, netif, &v4group);
|
||||||
#endif
|
#endif
|
||||||
return ERR_OK;
|
return ERR_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user