[Top][All Lists]

[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: Gecko/20070725 Firefox/

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);
>> 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:


  Nachricht geschickt von/durch Savannah

reply via email to

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