Bug 1700 - Ipv6RawSocket does not honor the bound address when sending packets
Ipv6RawSocket does not honor the bound address when sending packets
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: ipv6
ns-3-dev
All All
: P5 normal
Assigned To: Tommaso Pecorella
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-15 16:08 UTC by Tommaso Pecorella
Modified: 2013-06-16 03:07 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tommaso Pecorella 2013-06-15 16:08:25 UTC
The title is explicative. You can bind the interface, but the sender address might differ.

The bug is in the Ipv6RawSocketImpl::SendTo function. The packet is sent using the source address provided by the routing instead of the proper one.
Comment 1 Tommaso Pecorella 2013-06-16 02:58:20 UTC
Interesting enough, the bug also affects the test... in other words, the test was bugged so to reflect the bugged behaviour. Doh!
Comment 2 Tommaso Pecorella 2013-06-16 03:07:33 UTC
Fixed in changeset 9835:3efac978b3c9