Bugzilla – Attachment #2124: modified aodv and dsr for bug #2145
i != m_arp.end (); ++i)
{
ArpCache::Entry * entry = (*i)->Lookup (addr);
if (entry != 0 && entry->IsAlive () && !entry->IsExpired ())
if (entry != 0 && (entry->IsAlive () || entry->IsPermanent ()) && !entry->IsExpired ())
hwaddr = Mac48Address::ConvertFrom (entry->GetMacAddress ());
break;