Bug 1929 - TcpL4Protocol::Send must indicate the source address to routing (if known)
This commit is contained in:
@@ -25,6 +25,7 @@ New user-visible features
|
||||
Bugs fixed
|
||||
----------
|
||||
- Bug 1736 - default dot11EDCATableMSDULifetime
|
||||
- Bug 1929 - TcpL4Protocol::Send must indicate the source address to routing (if known)
|
||||
- Bug 2126 - LrWpanNetDevice silently accepts no mobility on the node
|
||||
- Bug 2135 - TCP doesn't honor the socket's output interface
|
||||
- Bug 2136 - The usage of tid in wifi and wave module shall be "if (tid > 7)" rather than "if (tid >= 7)"
|
||||
|
||||
@@ -537,6 +537,7 @@ TcpL4Protocol::Send (Ptr<Packet> packet,
|
||||
if (ipv4 != 0)
|
||||
{
|
||||
Ipv4Header header;
|
||||
header.SetSource (saddr);
|
||||
header.SetDestination (daddr);
|
||||
header.SetProtocol (PROT_NUMBER);
|
||||
Socket::SocketErrno errno_;
|
||||
@@ -580,6 +581,7 @@ TcpL4Protocol::Send (Ptr<Packet> packet,
|
||||
if (ipv6 != 0)
|
||||
{
|
||||
Ipv6Header header;
|
||||
header.SetSourceAddress (saddr);
|
||||
header.SetDestinationAddress (daddr);
|
||||
header.SetNextHeader (PROT_NUMBER);
|
||||
Socket::SocketErrno errno_;
|
||||
|
||||
Reference in New Issue
Block a user