Bug 746 - UDP uses wrong source address
UDP uses wrong source address
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: internet
ns-3-dev
All All
: P5 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-23 04:44 EST by Fabian Mauchle
Modified: 2009-11-24 00:01 EST (History)
1 user (show)

See Also:


Attachments
patch (861 bytes, patch)
2009-11-23 04:44 EST, Fabian Mauchle
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Mauchle 2009-11-23 04:44:00 EST
When a UDP socket is bound to an address, it does not use this address as the source address for UDP packets, but instead does a route lookup to determine the source address. With a node that has two or more interfaces, this may result in using the wrong source address.
Comment 1 Fabian Mauchle 2009-11-23 04:44:35 EST
Created attachment 666 [details]
patch
Comment 2 Tom Henderson 2009-11-24 00:01:49 EST
(In reply to comment #1)
> Created an attachment (id=666) [details]
> patch

changeset: f6f3e7bae1a4