Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-pico
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-pico
Commits
be18c76c
Unverified
Commit
be18c76c
authored
Aug 11, 2022
by
Odd Stråbø
Committed by
GitHub
Aug 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Udp: default local_ip to IP_ANY_TYPE when IPv6 is enabled (#750)
parent
af2671d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
libraries/WiFi/src/include/UdpContext.h
libraries/WiFi/src/include/UdpContext.h
+5
-0
No files found.
libraries/WiFi/src/include/UdpContext.h
View file @
be18c76c
...
...
@@ -50,6 +50,11 @@ public:
,
_tx_buf_cur
(
0
)
,
_tx_buf_offset
(
0
)
{
_pcb
=
udp_new
();
#if LWIP_IPV6
// local_ip defaults to 0.0.0.0
// which is problematic for sending IPv6 packets
ip_addr_set_ipaddr
(
&
_pcb
->
local_ip
,
IP_ANY_TYPE
);
#endif
#ifdef LWIP_MAYBE_XCC
_mcast_ttl
=
1
;
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment