Bug 2135 - TCP doesn't honor the socket's output interface

This commit is contained in:
Tommaso Pecorella
2015-06-09 23:41:06 +02:00
parent d67ced0392
commit f47b9bce81
2 changed files with 1 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ Bugs fixed
----------
- Bug 1736 - default dot11EDCATableMSDULifetime
- 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)"
Known issues

View File

@@ -541,7 +541,6 @@ TcpL4Protocol::Send (Ptr<Packet> packet,
header.SetProtocol (PROT_NUMBER);
Socket::SocketErrno errno_;
Ptr<Ipv4Route> route;
Ptr<NetDevice> oif (0); //specify non-zero if bound to a source address
if (ipv4->GetRoutingProtocol () != 0)
{
route = ipv4->GetRoutingProtocol ()->RouteOutput (packet, header, oif, errno_);
@@ -585,7 +584,6 @@ TcpL4Protocol::Send (Ptr<Packet> packet,
header.SetNextHeader (PROT_NUMBER);
Socket::SocketErrno errno_;
Ptr<Ipv6Route> route;
Ptr<NetDevice> oif (0); //specify non-zero if bound to a source address
if (ipv6->GetRoutingProtocol () != 0)
{
route = ipv6->GetRoutingProtocol ()->RouteOutput (packet, header, oif, errno_);