--- a/src/contrib/flow-monitor/ipv4-flow-probe.cc Thu May 07 12:00:55 2009 +0100
+++ b/src/contrib/flow-monitor/ipv4-flow-probe.cc Thu May 07 12:01:13 2009 +0100
@@ -95,7 +95,8 @@
if (m_classifier->Classify (ipHeader, ipPayload, &flowId, &packetId))
{
uint32_t size = (ipPayload->GetSize () + ipHeader.GetSerializedSize ());
- NS_LOG_DEBUG ("ReportFirstTx ("<<this<<", "<<flowId<<", "<<packetId<<", "<<size<<");");
+ NS_LOG_DEBUG ("ReportFirstTx ("<<this<<", "<<flowId<<", "<<packetId<<", "<<size<<"); "
+ << ipHeader << *ipPayload);
m_flowMonitor->ReportFirstTx (this, flowId, packetId, size);
}
}
@@ -156,7 +157,8 @@
{
uint32_t size = (ipPayload->GetSize () + ipHeader.GetSerializedSize ());
NS_LOG_DEBUG ("Drop ("<<this<<", "<<flowId<<", "<<packetId<<", "<<size<<", " << reason
- << ", destIp=" << ipHeader.GetDestination () << ");");
+ << ", destIp=" << ipHeader.GetDestination () << "); "
+ << "HDR: " << ipHeader << " PKT: " << *ipPayload);
DropReason myReason;