Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/ESP8266mDNS/src/LEAmDNS_Helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ bool MDNSResponder::_allocUDPContext(void)
m_pUDPContext = new UdpContext;
m_pUDPContext->ref();

if (m_pUDPContext->listen(IP4_ADDR_ANY, DNS_MQUERY_PORT))
if (m_pUDPContext->listen(&m_netif->ip_addr, DNS_MQUERY_PORT))
{
m_pUDPContext->setMulticastTTL(MDNS_MULTICAST_TTL);
m_pUDPContext->onRx(std::bind(&MDNSResponder::_callProcess, this));
Expand Down