Bug 209 - PacketSocket::SendTo has a weird XXX comment
PacketSocket::SendTo has a weird XXX comment
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: network
pre-release
All All
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-04 13:46 UTC by Mathieu Lacage
Modified: 2008-07-01 13:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Lacage 2008-06-04 13:46:27 UTC
// XXX should return another error here.

I believe that the test which leads to this codepath is wrong: it is legal for Packet sockets to be unbound when SendTo is invoked so, there is no need to check for the OPEN state.
Comment 1 Mathieu Lacage 2008-06-04 13:51:16 UTC
changeset: 503c67d93dab