don't call PeekData if we can
This commit is contained in:
1 parent
1825edbc27
commit
2ae6d337a3
1 file changed
+1
-2
@@ -142,8 +142,7 @@ void PacketSink::HandleRead (Ptr<Socket> socket)
|
||||
{
|
||||
InetSocketAddress address = InetSocketAddress::ConvertFrom (from);
|
||||
NS_LOG_INFO ("Received " << packet->GetSize() << " bytes from " <<
|
||||
address.GetIpv4() << " [" << address << "]---'" <<
|
||||
packet->PeekData() << "'");
|
||||
address.GetIpv4() << " [" << address << "]");
|
||||
}
|
||||
m_rxTrace (packet, from);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user