lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #22120] Problem in icmp_dest_unreach


From: Bill Auerbach
Subject: [lwip-devel] [bug #22120] Problem in icmp_dest_unreach
Date: Fri, 25 Jan 2008 17:12:38 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

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

                 Summary: Problem in icmp_dest_unreach
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: billauerbach
            Submitted on: Friday 01/25/2008 at 12:12
                Category: IPv4
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

The data length reported by wireshark for the UDP portion of this packet is
wrong.  It’s left at the length of the packet that was received that was not
reachable.

Here is my solution – I’m not sure if this is the way to go about it, but
wireshark no longer complains:

Added to icmp_dest_unreach

  struct udp_hdr *uhdr;

After:  iphdr = p->payload;

  uhdr = (struct udp_hdr *) ((u8_t *) p->payload + IP_HLEN);
  uhdr->len = htons(8);





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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