Bug 535

Summary: UDP/TCP ShutdownRecv incorrect
Product: ns-3 Reporter: Rajib Bhattacharjea <raj.b>
Component: internetAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: mathieu.lacage
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   

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