Hi
I just updated my code to the recent master, and this commit breaks my code:
I have two UDP sockets listening at the same port. One a IPv4 only PCB, and when trying to listen with an IPv6 only PCB at the same port, it fails.
from udp.c after this commit:
for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) {
...
if ((ipcb->local_port == port) &&
(ip_addr_cmp(&ipcb->local_ip, ipaddr) || ip_addr_isany(ipaddr) ||
ip_addr_isany(&ipcb->local_ip)))
return ERR_USE;
....
ip_addr_isany should be IP_IS_ANY_TYPE_VAL instead, so that it only hits dual-stack listeners?