On 21.02.2018 14:39, Steinberg Michael wrote:
seemingly the udp_input code is serving UDP broadcasts originating from a certain netif to UDP sockets/pcbs bound to the correct port on a different netif.
I'm not aware of that, could you file a bug until this is sorted out?
Patching udp.c:255 following to: #endif /* SO_REUSE */ ) && (inp->ip_addr.addr == pcb->local_ip.addr)) { /* the first unconnected matching PCB */ uncon_pcb = pcb; seems like a working short term fix.
That seems to prevent pcbs with a local IP of 'any' from receiving such packets.
Simon _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users