1.1 --- a/src/contrib/flow-monitor/ipv4-flow-probe.cc Thu May 07 12:00:55 2009 +0100
1.2 +++ b/src/contrib/flow-monitor/ipv4-flow-probe.cc Thu May 07 12:01:13 2009 +0100
1.3 @@ -95,7 +95,8 @@
1.4 if (m_classifier->Classify (ipHeader, ipPayload, &flowId, &packetId))
1.5 {
1.6 uint32_t size = (ipPayload->GetSize () + ipHeader.GetSerializedSize ());
1.7 - NS_LOG_DEBUG ("ReportFirstTx ("<<this<<", "<<flowId<<", "<<packetId<<", "<<size<<");");
1.8 + NS_LOG_DEBUG ("ReportFirstTx ("<<this<<", "<<flowId<<", "<<packetId<<", "<<size<<"); "
1.9 + << ipHeader << *ipPayload);
1.10 m_flowMonitor->ReportFirstTx (this, flowId, packetId, size);
1.11 }
1.12 }
1.13 @@ -156,7 +157,8 @@
1.14 {
1.15 uint32_t size = (ipPayload->GetSize () + ipHeader.GetSerializedSize ());
1.16 NS_LOG_DEBUG ("Drop ("<<this<<", "<<flowId<<", "<<packetId<<", "<<size<<", " << reason
1.17 - << ", destIp=" << ipHeader.GetDestination () << ");");
1.18 + << ", destIp=" << ipHeader.GetDestination () << "); "
1.19 + << "HDR: " << ipHeader << " PKT: " << *ipPayload);
1.20
1.21 DropReason myReason;
1.22