From f7136eba3ef07eb92ebd2f51e5d6f45e0279da48 Mon Sep 17 00:00:00 2001 From: ludu Date: Mon, 10 Feb 2020 05:03:35 -0800 Subject: [PATCH] [address-resolver] add log on new cache entry creation (#4540) --- src/core/thread/address_resolver.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/thread/address_resolver.cpp b/src/core/thread/address_resolver.cpp index fc862c188..278ce6009 100644 --- a/src/core/thread/address_resolver.cpp +++ b/src/core/thread/address_resolver.cpp @@ -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; }