Bug 535 - UDP/TCP ShutdownRecv incorrect
UDP/TCP ShutdownRecv incorrect
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-03-29 23:20 UTC by Rajib Bhattacharjea
Modified: 2009-06-03 04:05 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 Rajib Bhattacharjea 2009-03-29 23:20:49 UTC
They both do something like this:

int 
UdpSocketImpl::ShutdownRecv (void)
{
  NS_LOG_FUNCTION_NOARGS ();
  m_shutdownRecv = false;
  return 0;
}

Looks like that should be "true" in place of "false"?  The logic of ForwardUp indicates this I think.  This bug seems to go way back, and the fact that it is in TCP is due to copy paste.
Comment 1 Mathieu Lacage 2009-06-03 04:05:05 UTC
changeset 893d48fcf7f3