Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(udp): Revert to IP_SET_TYPE_VAL in connect
  • Loading branch information
me-no-dev authored Jul 8, 2025
commit 60e70dc25e50521d651daf9bed59b04a81950208
4 changes: 2 additions & 2 deletions libraries/AsyncUDP/src/AsyncUDP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,8 @@ bool AsyncUDP::listen(const ip_addr_t *addr, uint16_t port) {
}
close();
if (addr) {
IP_SET_TYPE(_pcb->local_ip, IP_GET_TYPE(addr));
IP_SET_TYPE(_pcb->remote_ip, IP_GET_TYPE(addr));
IP_SET_TYPE_VAL(_pcb->local_ip, IP_GET_TYPE(addr));
IP_SET_TYPE_VAL(_pcb->remote_ip, IP_GET_TYPE(addr));
}
if (_udp_bind(_pcb, addr, port) != ERR_OK) {
return false;
Expand Down
Loading