mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +00:00
* icmp.c: Reset IP header TTL in ICMP ECHO responses (bug #19580).
This commit is contained in:
parent
79be888b6f
commit
748ba22a19
@ -117,6 +117,9 @@ HISTORY
|
||||
|
||||
++ Bug fixes:
|
||||
|
||||
2007-04-12 Jonathan Larmour
|
||||
* icmp.c: Reset IP header TTL in ICMP ECHO responses (bug #19580).
|
||||
|
||||
2007-04-11 Simon Goldschmidt
|
||||
* etharp.c, pbuf.c, pbuf.h: 3rd fix for bug #11400 (arp-queuing): More pbufs than
|
||||
previously thought need to be copied (everything but PBUF_ROM!). Cleaned up
|
||||
|
@ -115,7 +115,7 @@ icmp_input(struct pbuf *p, struct netif *inp)
|
||||
LWIP_ASSERT("Can't move over header in packet", 0);
|
||||
else
|
||||
ip_output_if(p, &(iphdr->src), IP_HDRINCL,
|
||||
IPH_TTL(iphdr), 0, IP_PROTO_ICMP, inp);
|
||||
ICMP_TTL, 0, IP_PROTO_ICMP, inp);
|
||||
break;
|
||||
default:
|
||||
LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: ICMP type %"S16_F" code %"S16_F" not supported.\n", (s16_t)type, (s16_t)code));
|
||||
|
Loading…
Reference in New Issue
Block a user