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 af2671d commit be18c76Copy full SHA for be18c76
libraries/WiFi/src/include/UdpContext.h
@@ -50,6 +50,11 @@ class UdpContext {
50
, _tx_buf_cur(0)
51
, _tx_buf_offset(0) {
52
_pcb = udp_new();
53
+#if LWIP_IPV6
54
+ // local_ip defaults to 0.0.0.0
55
+ // which is problematic for sending IPv6 packets
56
+ ip_addr_set_ipaddr(&_pcb->local_ip, IP_ANY_TYPE);
57
+#endif
58
#ifdef LWIP_MAYBE_XCC
59
_mcast_ttl = 1;
60
#endif
0 commit comments