fix bug in PacketSink

This commit is contained in:
Tom Henderson
2007-12-30 19:36:44 -08:00
parent 414c33ffc9
commit 906a9748b5

View File

@@ -85,7 +85,7 @@ void PacketSink::StartApplication() // Called at time specified by Start
void PacketSink::StopApplication() // Called at time specified by Stop
{
if (!m_socket)
if (m_socket)
{
m_socket->SetRecvCallback (MakeNullCallback<void, Ptr<Socket>,
Ptr<Packet>, const Address &> ());