lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #21107] LwIP doesn't reset the TTL in ICMP Echo Replie


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #21107] LwIP doesn't reset the TTL in ICMP Echo Replies
Date: Wed, 19 Sep 2007 06:13:47 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6

Update of bug #21107 (project lwip):

                Category:                    None => IPv4                   
              Item Group:                    None => Faulty Behaviour       
                  Status:                    None => Fixed                  
             Assigned to:                    None => goldsimon              
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #10:

Fixed by including

>> /* Set the correct TTL and recalculate
>> the header checksum. */
>> IPH_TTL_SET(iphdr, ICMP_TTL);
>> IPH_CHKSUM_SET(iphdr, 0);
>> #if CHECKSUM_GEN_IP
>> IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN));
>> #endif /* CHECKSUM_GEN_IP */

(hope it compiles as I can't currently check it :( )

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?21107>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]