mirror of
https://github.com/espressif/openthread.git
synced 2026-10-04 23:07:37 +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->mTimeout = 0;
|
||||||
entry->mFailures = 0;
|
entry->mFailures = 0;
|
||||||
entry->mState = Cache::kStateCached;
|
entry->mState = Cache::kStateCached;
|
||||||
|
|
||||||
MoveCacheEntryBehindCached(*entry);
|
MoveCacheEntryBehindCached(*entry);
|
||||||
|
|
||||||
|
otLogNoteArp("Cache entry added (snoop): %s, 0x%04x", aEid.ToString().AsCString(), aRloc16);
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user