[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Multiple netifs: UDP broadcasts on a certain netif showing
From: |
Steinberg Michael |
Subject: |
[lwip-users] Multiple netifs: UDP broadcasts on a certain netif showing up on udps connected to a different netif |
Date: |
Wed, 21 Feb 2018 13:39:47 +0000 |
Hello all,
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.
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.
Kind regards,
Michael
- [lwip-users] Multiple netifs: UDP broadcasts on a certain netif showing up on udps connected to a different netif,
Steinberg Michael <=