equal
deleted
inserted
replaced
230 for (CacheI i = m_arpCache.begin (); i != m_arpCache.end (); i++) |
230 for (CacheI i = m_arpCache.begin (); i != m_arpCache.end (); i++) |
231 { |
231 { |
232 delete (*i).second; |
232 delete (*i).second; |
233 } |
233 } |
234 m_arpCache.erase (m_arpCache.begin (), m_arpCache.end ()); |
234 m_arpCache.erase (m_arpCache.begin (), m_arpCache.end ()); |
|
235 if (m_waitReplyTimer.IsRunning ()) |
|
236 { |
|
237 NS_LOG_LOGIC ("Stopping WaitReplyTimer at " << Simulator::Now ().GetSeconds () << " due to ArpCache flush"); |
|
238 m_waitReplyTimer.Cancel (); |
|
239 } |
235 } |
240 } |
236 |
241 |
237 ArpCache::Entry * |
242 ArpCache::Entry * |
238 ArpCache::Lookup (Ipv4Address to) |
243 ArpCache::Lookup (Ipv4Address to) |
239 { |
244 { |