We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c6b481 commit 7d8bb51Copy full SHA for 7d8bb51
libraries/ESP8266mDNS/src/LEAmDNS_Helpers.cpp
@@ -199,7 +199,7 @@ bool MDNSResponder::_allocUDPContext(void) {
199
//TODO: set multicast address (lwip_joingroup() is IPv4 only at the time of writing)
200
multicast_addr.addr = DNS_MQUERY_IPV6_GROUP_INIT;
201
#endif
202
- if (ERR_OK == igmp_joingroup(IP4_ADDR_ANY4, ip_2_ip4(&multicast_addr))) {
+ if (ERR_OK == igmp_joingroup(&m_netif->ip_addr, ip_2_ip4(&multicast_addr))) {
203
m_pUDPContext = new UdpContext;
204
m_pUDPContext->ref();
205
0 commit comments