mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-14 18:36:27 +00:00
ip_addr_set_any does not work on pointers...
This commit is contained in:
parent
4b0be4a477
commit
2c60a48d02
@ -844,7 +844,7 @@ lwip_sendto(int s, const void *data, size_t size, int flags,
|
||||
inet_addr_to_ipaddr_p(remote_addr, &to_in->sin_addr);
|
||||
remote_port = ntohs(to_in->sin_port);
|
||||
} else {
|
||||
ip_addr_set_any(&remote_addr);
|
||||
remote_addr = IP_ADDR_ANY;
|
||||
remote_port = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user