From 269046aa5ad147980e229d8e2bdab38cdbdddbfc Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Fri, 13 Aug 2010 09:32:29 +0200 Subject: [PATCH] log timeout duration --- src/internet-stack/arp-cache.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/internet-stack/arp-cache.cc b/src/internet-stack/arp-cache.cc index 309b1bbae..d72ff5c08 100644 --- a/src/internet-stack/arp-cache.cc +++ b/src/internet-stack/arp-cache.cc @@ -167,9 +167,10 @@ ArpCache::StartWaitReplyTimer (void) 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); } }