mirror of
https://github.com/espressif/openthread.git
synced 2026-08-03 01:17:46 +00:00
[ndproxy] fix typo Attampts -> Attempts (#7752)
This commit is contained in:
@@ -251,7 +251,7 @@ void NdProxyTable::HandleTimer(void)
|
||||
|
||||
for (NdProxy &proxy : Iterate(kFilterDadInProcess))
|
||||
{
|
||||
if (proxy.IsDadAttamptsComplete())
|
||||
if (proxy.IsDadAttemptsComplete())
|
||||
{
|
||||
proxy.mDadFlag = false;
|
||||
NotifyDuaRegistrationOnBackboneLink(proxy, /* aIsRenew */ false);
|
||||
@@ -262,7 +262,7 @@ void NdProxyTable::HandleTimer(void)
|
||||
|
||||
if (Get<BackboneRouter::Manager>().SendBackboneQuery(GetDua(proxy)) == kErrorNone)
|
||||
{
|
||||
proxy.IncreaseDadAttampts();
|
||||
proxy.IncreaseDadAttempts();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -111,8 +111,8 @@ public:
|
||||
uint32_t aTimeSinceLastTransaction);
|
||||
|
||||
void Update(uint16_t aRloc16, uint32_t aTimeSinceLastTransaction);
|
||||
void IncreaseDadAttampts(void) { mDadAttempts++; }
|
||||
bool IsDadAttamptsComplete() const { return mDadAttempts == Mle::kDuaDadRepeats; }
|
||||
void IncreaseDadAttempts(void) { mDadAttempts++; }
|
||||
bool IsDadAttemptsComplete() const { return mDadAttempts == Mle::kDuaDadRepeats; }
|
||||
|
||||
Ip6::InterfaceIdentifier mAddressIid;
|
||||
Ip6::InterfaceIdentifier mMeshLocalIid;
|
||||
|
||||
Reference in New Issue
Block a user