This commit is contained in:
Mathieu Lacage committed 2007-07-30 10:35:03 +02:00
commit 36efa41341
60 files changed
+4579 -299

No files matched your search

+2
View File
@@ -109,6 +109,8 @@ ArpCache::Lookup (Ipv4Address to)
ArpCache::Entry *
ArpCache::Add (Ipv4Address to)
{
NS_ASSERT (m_arpCache.find (to) == m_arpCache.end ());
ArpCache::Entry *entry = new ArpCache::Entry (this);
m_arpCache[to] = entry;
return entry;