Bug 2135

Summary: TCP doesn't honor the socket's output interface
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: tcpAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: patch

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