Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit77b82a0

Browse files
author
Viktr
authored
Changing listen to listen the current iface only instead of 0 (#7217)
1 parenta36a6c8 commit77b82a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎libraries/ESP8266mDNS/src/LEAmDNS_Helpers.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ bool MDNSResponder::_allocUDPContext(void)
226226
m_pUDPContext =new UdpContext;
227227
m_pUDPContext->ref();
228228

229-
if (m_pUDPContext->listen(IP4_ADDR_ANY, DNS_MQUERY_PORT))
229+
if (m_pUDPContext->listen(&m_netif->ip_addr, DNS_MQUERY_PORT))
230230
{
231231
m_pUDPContext->setMulticastTTL(MDNS_MULTICAST_TTL);
232232
m_pUDPContext->onRx(std::bind(&MDNSResponder::_callProcess,this));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp