lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #18065] ID in IP-Header is ZERO for all outgoing IP-pa


From: goldsimon
Subject: [lwip-devel] [bug #18065] ID in IP-Header is ZERO for all outgoing IP-packets
Date: Fri, 20 Oct 2006 09:15:56 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7

URL:
  <http://savannah.nongnu.org/bugs/?18065>

                 Summary: ID in IP-Header is ZERO for all outgoing IP-packets
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Freitag 20.10.2006 um 09:15
                Category: IPv4
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

The reason is that int ip_output_if(), the variable ip_id (used to assign the
IDs to the packets) is not declared static. It is declare in line 386, used
for assignment in line 409 and incremented (for the next packet) in line
410.

But since it is not static, the next time ip_output_if() is called, it is set
back to 0 again, resulting in all outgoing IP-packets with ID=0.






    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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