log timeout duration
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Fri, 13 Aug 2010 09:32:29 +0200
changeset 6561 d22119d6f382
parent 6560 771dbe777984
child 6562 81b870921187
log timeout duration
src/internet-stack/arp-cache.cc
--- a/src/internet-stack/arp-cache.cc	Fri Aug 13 09:29:36 2010 +0200
+++ b/src/internet-stack/arp-cache.cc	Fri Aug 13 09:32:29 2010 +0200
@@ -167,9 +167,10 @@
   NS_LOG_FUNCTION (this);
   if (!m_waitReplyTimer.IsRunning ())
     {
-      NS_LOG_LOGIC ("Starting WaitReplyTimer at " << Simulator::Now ().GetSeconds ());
+      NS_LOG_LOGIC ("Starting WaitReplyTimer at " << Simulator::Now () << " for " <<
+                    m_waitReplyTimeout);
       m_waitReplyTimer = Simulator::Schedule (m_waitReplyTimeout, 
-        &ArpCache::HandleWaitReplyTimeout, this);
+                                              &ArpCache::HandleWaitReplyTimeout, this);
     }
 }