Bug 2255 - Ipv6RawSocket does not call data sent callbacks.
This commit is contained in:
@@ -78,6 +78,7 @@ Bugs fixed
|
||||
- Bug 2243 - TCP Socket Fork() fails to copy some parameters, causing connections to close prematurely on retransmit
|
||||
- Bug 2246 - Some DSR LogComponents and classes are not defined in a unique way.
|
||||
- Bug 2254 - Ipv[4,6]RawSocket can return the wrong number of bytes sent.
|
||||
- Bug 2255 - Ipv6RawSocket does not call data sent callbacks.
|
||||
|
||||
Known issues
|
||||
------------
|
||||
|
||||
@@ -255,6 +255,8 @@ int Ipv6RawSocketImpl::SendTo (Ptr<Packet> p, uint32_t flags, const Address& toA
|
||||
ipv6->Send (p, m_src, dst, m_protocol, route);
|
||||
}
|
||||
// Return only payload size (as Linux does).
|
||||
NotifyDataSent (pktSize);
|
||||
NotifySend (GetTxAvailable ());
|
||||
return pktSize - hdr.GetSerializedSize ();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user