mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +00:00
Fixed bug #20220: UDP PCB search in udp_input(): a non-local match could get udp input packets if the remote side matched.
This commit is contained in:
parent
4f5b781b88
commit
00b7aeb49b
@ -238,6 +238,10 @@ HISTORY
|
||||
|
||||
++ Bug fixes:
|
||||
|
||||
2007-06-25 Simon Goldschmidt
|
||||
* udp.c: Fixed bug #20220: UDP PCB search in udp_input(): a non-local match
|
||||
could get udp input packets if the remote side matched.
|
||||
|
||||
2007-06-13 Simon Goldschmidt
|
||||
* netif.c: Fixed bug #20180 (TCP pcbs listening on IP_ADDR_ANY could get
|
||||
changed in netif_set_ipaddr if previous netif->ip_addr.addr was 0.
|
||||
|
@ -140,6 +140,7 @@ udp_input(struct pbuf *p, struct netif *inp)
|
||||
* preferred. If no perfect match is found, the first unconnected pcb that
|
||||
* matches the local port and ip address gets the datagram. */
|
||||
for (pcb = udp_pcbs; pcb != NULL; pcb = pcb->next) {
|
||||
local_match = 0;
|
||||
/* print the PCB local and remote address */
|
||||
LWIP_DEBUGF(UDP_DEBUG,
|
||||
("pcb (%"U16_F".%"U16_F".%"U16_F".%"U16_F", %"U16_F") --- "
|
||||
|
Loading…
Reference in New Issue
Block a user