Clear the list of sockets in packet-sink
authorfmoatamr
Thu, 10 Dec 2009 12:40:07 +0100
changeset 5845 b7248f6ae309
parent 5844 0dd442f011c7
child 5846 f7a4e1b3f632
Clear the list of sockets in packet-sink
src/applications/packet-sink/packet-sink.cc
--- a/src/applications/packet-sink/packet-sink.cc	Wed Dec 09 17:40:12 2009 +0100
+++ b/src/applications/packet-sink/packet-sink.cc	Thu Dec 10 12:40:07 2009 +0100
@@ -79,6 +79,7 @@
 {
   NS_LOG_FUNCTION (this);
   m_socket = 0;
+  m_socketList.clear ();
 
   // chain up
   Application::DoDispose ();