Skip to content

Commit

Permalink
Revert "Changing listen to listen the current iface only instead of 0" (
Browse files Browse the repository at this point in the history
#7266)

workaround for #7262 (reverts #7217)

Co-authored-by: Takayuki 'January June' Suwa <[email protected]>
  • Loading branch information
jjsuwa and Takayuki 'January June' Suwa committed May 3, 2020
1 parent 4e3a4b6 commit bf718c3
Showing 1 changed file with 1 addition and 1 deletion.
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(&m_netif->ip_addr, DNS_MQUERY_PORT))
if (m_pUDPContext->listen(IP4_ADDR_ANY, DNS_MQUERY_PORT))
{
m_pUDPContext->setMulticastTTL(MDNS_MULTICAST_TTL);
m_pUDPContext->onRx(std::bind(&MDNSResponder::_callProcess, this));
Expand Down

0 comments on commit bf718c3

Please sign in to comment.