Bug 535 - UDP/TCP ShutdownRecv incorrect
: UDP/TCP ShutdownRecv incorrect
Status: RESOLVED FIXED
: ns-3
internet-stack
: ns-3-dev
: All All
: P5 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-03-29 23:20 EDT by
Modified: 2009-06-03 04:05 EDT (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-03-29 23:20:49 EDT
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 From 2009-06-03 04:05:05 EDT -------
changeset 893d48fcf7f3