diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 170787011..95635691b 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -37,6 +37,7 @@ Bugs fixed - Bug 2353 - TCP Vegas implementation - Bug 2375 - Flowmonitor parse crashes when no pkt is received - Bug 2377 - SocketIpTosTag and SocketIpv6TclassTag may be added twice in UDP +- Bug 2383 - IPv4 header for reassembled packets reports a wrong payload size Known issues ------------ diff --git a/src/internet/model/ipv4-l3-protocol.cc b/src/internet/model/ipv4-l3-protocol.cc index 65d5b5097..a7e747d8b 100644 --- a/src/internet/model/ipv4-l3-protocol.cc +++ b/src/internet/model/ipv4-l3-protocol.cc @@ -1070,7 +1070,7 @@ Ipv4L3Protocol::LocalDeliver (Ptr packet, Ipv4Header const&ip, uin } NS_LOG_LOGIC ("Got last fragment, Packet is complete " << *p ); ipHeader.SetFragmentOffset (0); - ipHeader.SetPayloadSize (p->GetSize () + ipHeader.GetSerializedSize ()); + ipHeader.SetPayloadSize (p->GetSize ()); } m_localDeliverTrace (ipHeader, p, iif);