Fix a small error in the unit test added recently (though it doesn't change the result)

This commit is contained in:
Gustavo J. A. M. Carneiro
2007-09-21 15:57:20 +01:00
parent 43bb81fd82
commit 6a5e3bf70d

View File

@@ -441,7 +441,7 @@ UdpSocketTest::RunTests (void)
// When receiving broadcast packets, all sockets sockets bound to
// the address/port should receive a copy of the same packet.
Ptr<Socket> rxSocket2 = socketFactory->CreateSocket ();
rxSocket2->SetRecvCallback (MakeCallback (&UdpSocketTest::ReceivePacket, this));
rxSocket2->SetRecvCallback (MakeCallback (&UdpSocketTest::ReceivePacket2, this));
NS_TEST_ASSERT_EQUAL (rxSocket2->Bind (InetSocketAddress (Ipv4Address ("10.0.0.1"), 1234)), 0);
m_receivedPacket = Packet ();