mirror of
https://github.com/espressif/openthread.git
synced 2026-09-20 16:07:36 +00:00
[address-resolver] add log on new cache entry creation (#4540)
This commit is contained in:
@@ -345,9 +345,10 @@ otError AddressResolver::AddCacheEntry(const Ip6::Address &aEid, Mac::ShortAddre
|
||||
entry->mTimeout = 0;
|
||||
entry->mFailures = 0;
|
||||
entry->mState = Cache::kStateCached;
|
||||
|
||||
MoveCacheEntryBehindCached(*entry);
|
||||
|
||||
otLogNoteArp("Cache entry added (snoop): %s, 0x%04x", aEid.ToString().AsCString(), aRloc16);
|
||||
|
||||
exit:
|
||||
return error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user