bug 535: UDP/TCP ShutdownRecv incorrect
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed, 03 Jun 2009 10:04:51 +0200
changeset 4491 893d48fcf7f3
parent 4490 6aa43c812fec
child 4492 3ebeb7bf3c15
child 4493 291853a14915
bug 535: UDP/TCP ShutdownRecv incorrect
src/internet-stack/nsc-tcp-socket-impl.cc
src/internet-stack/tcp-socket-impl.cc
src/internet-stack/udp-socket-impl.cc
--- a/src/internet-stack/nsc-tcp-socket-impl.cc	Wed Jun 03 10:02:25 2009 +0200
+++ b/src/internet-stack/nsc-tcp-socket-impl.cc	Wed Jun 03 10:04:51 2009 +0200
@@ -263,7 +263,7 @@
 NscTcpSocketImpl::ShutdownRecv (void)
 {
   NS_LOG_FUNCTION_NOARGS ();
-  m_shutdownRecv = false;
+  m_shutdownRecv = true;
   return 0;
 }
 
--- a/src/internet-stack/tcp-socket-impl.cc	Wed Jun 03 10:02:25 2009 +0200
+++ b/src/internet-stack/tcp-socket-impl.cc	Wed Jun 03 10:04:51 2009 +0200
@@ -303,7 +303,7 @@
 TcpSocketImpl::ShutdownRecv (void)
 {
   NS_LOG_FUNCTION_NOARGS ();
-  m_shutdownRecv = false;
+  m_shutdownRecv = true;
   return 0;
 }
 
--- a/src/internet-stack/udp-socket-impl.cc	Wed Jun 03 10:02:25 2009 +0200
+++ b/src/internet-stack/udp-socket-impl.cc	Wed Jun 03 10:04:51 2009 +0200
@@ -198,7 +198,7 @@
 UdpSocketImpl::ShutdownRecv (void)
 {
   NS_LOG_FUNCTION_NOARGS ();
-  m_shutdownRecv = false;
+  m_shutdownRecv = true;
   return 0;
 }