1.1 --- a/src/contrib/flow-monitor/ipv4-flow-probe.cc Thu May 07 12:01:13 2009 +0100
1.2 +++ b/src/contrib/flow-monitor/ipv4-flow-probe.cc Thu May 07 12:27:24 2009 +0100
1.3 @@ -44,7 +44,10 @@
1.4 {
1.5 NS_LOG_FUNCTION (this << node->GetId ());
1.6
1.7 +#if 0
1.8 m_ipv4 = node->GetObject<Ipv4> ();
1.9 +#endif
1.10 +
1.11 Ptr<Ipv4L3Protocol> ipv4 = node->GetObject<Ipv4L3Protocol> ();
1.12
1.13 if (!ipv4->TraceConnectWithoutContext ("SendOutgoing",
1.14 @@ -134,6 +137,7 @@
1.15 Ipv4FlowProbe::DropLogger (const Ipv4Header &ipHeader, Ptr<const Packet> ipPayload,
1.16 Ipv4L3Protocol::DropReason reason, uint32_t ifIndex)
1.17 {
1.18 +#if 0
1.19 switch (reason)
1.20 {
1.21 case Ipv4L3Protocol::DROP_NO_ROUTE:
1.22 @@ -149,7 +153,8 @@
1.23 return;
1.24 }
1.25 }
1.26 -
1.27 +#endif
1.28 +
1.29 FlowId flowId;
1.30 FlowPacketId packetId;
1.31
2.1 --- a/src/contrib/flow-monitor/ipv4-flow-probe.h Thu May 07 12:01:13 2009 +0100
2.2 +++ b/src/contrib/flow-monitor/ipv4-flow-probe.h Thu May 07 12:27:24 2009 +0100
2.3 @@ -55,7 +55,9 @@
2.4 Ipv4L3Protocol::DropReason reason, uint32_t ifIndex);
2.5
2.6 Ptr<Ipv4FlowClassifier> m_classifier;
2.7 +#if 0
2.8 Ptr<Ipv4> m_ipv4;
2.9 +#endif
2.10 };
2.11
2.12