We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c2901d commit f11cc4dCopy full SHA for f11cc4d
libraries/LEAmDNS/src/LEAmDNS_Control.cpp
@@ -268,7 +268,11 @@ bool MDNSResponder::_parseQuery(const MDNSResponder::stcMDNS_MsgHeader& p_MsgHea
268
remote = m_pUDPContext->getRemoteAddress();
269
local = WiFi.localIP();
270
netmask = WiFi.subnetMask();
271
+#if LWIP_IPV6
272
+ if (ip4_addr_netcmp(&remote.u_addr.ip4, &local.u_addr.ip4, &netmask.u_addr.ip4))
273
+#else
274
if (ip4_addr_netcmp(&remote, &local, &netmask))
275
+#endif
276
// ip_info IPInfo_Local;
277
// ip_info IPInfo_Remote;
278
// if (((IPInfo_Remote.ip.addr = m_pUDPContext->getRemoteAddress()))
0 commit comments