Bug 2135 - TCP doesn't honor the socket's output interface
TCP doesn't honor the socket's output interface
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: tcp
ns-3-dev
All All
: P5 minor
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-06 19:26 UTC by Tommaso Pecorella
Modified: 2015-06-09 17:45 UTC (History)
1 user (show)

See Also:


Attachments
patch (1.07 KB, patch)
2015-06-06 19:28 UTC, Tommaso Pecorella
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tommaso Pecorella 2015-06-06 19:26:51 UTC
In TcpL4Protocol::Send (both IPv4 and IPv6 versions) the "oif" argument is masqueraded by a later re-definition and a zero-set oif.
The consequence is that packets could be sent to the wrong output interface, even if the socket was bound to a specific one.
Comment 1 Tommaso Pecorella 2015-06-06 19:28:01 UTC
Created attachment 2060 [details]
patch
Comment 2 Tommaso Pecorella 2015-06-09 17:45:27 UTC
changeset 11433	fdf9a6da39fa