[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] ICMP reply in udp_input()
From: |
Ed Sutter |
Subject: |
[lwip-users] ICMP reply in udp_input() |
Date: |
Wed, 22 Jan 2003 08:27:29 -0500 |
Hello again,
I noticed a while ago that in udp_input(), just after the
two loops that search for a pcb match, there is a line
commented out that I don't understand...
This line:
if ((pcb != NULL) || (ip_addr_cmp(&inp->ip_addr,&iphdr->dest))
has been replaced with:
if (pcb != NULL)
It appears that with the ip_addr_cmp test included, the
code will generate an ICMP error response as it should.
With this line commented out, it looks like packets that
come into the stack with the correct IP address but
no valid port are just dropped.
What's the history behind this change?
Ed
els.vcf
Description: Card for Ed Sutter
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] ICMP reply in udp_input(),
Ed Sutter <=