[routing-manager] fix typo in method and constant names (#12149)

Fixes the typo `Inital -> Initial`.
This commit is contained in:
Abtin Keshavarzian
2025-11-14 16:02:16 -08:00
committed by GitHub
parent df3da9b859
commit c0c7b11fd4
2 changed files with 9 additions and 9 deletions
+5 -5
View File
@@ -417,7 +417,7 @@ bool RoutingManager::IsInitialPolicyEvaluationDone(void) const
// the emitted Router Advert message on infrastructure side
// and published in the Thread Network Data.
return mIsRunning && mOmrPrefixManager.IsInitalEvaluationDone() && mOnLinkPrefixManager.IsInitalEvaluationDone();
return mIsRunning && mOmrPrefixManager.IsInitialEvaluationDone() && mOnLinkPrefixManager.IsInitialEvaluationDone();
}
void RoutingManager::ScheduleRoutingPolicyEvaluation(ScheduleMode aMode)
@@ -436,9 +436,9 @@ void RoutingManager::ScheduleRoutingPolicyEvaluation(ScheduleMode aMode)
break;
case kForNextRa:
if (mTxRaInfo.mTxCount <= kInitalRaTxCount)
if (mTxRaInfo.mTxCount <= kInitialRaTxCount)
{
interval = kInitalRaInterval;
interval = kInitialRaInterval;
jitter = kInitialRaJitter;
}
else
@@ -750,7 +750,7 @@ void RoutingManager::OmrPrefixManager::Stop(void)
ClearFavoredPrefix();
}
bool RoutingManager::OmrPrefixManager::IsInitalEvaluationDone(void) const
bool RoutingManager::OmrPrefixManager::IsInitialEvaluationDone(void) const
{
// This method indicates whether or not we are done with the
// initial policy evaluation of the OMR prefix, i.e., either
@@ -1344,7 +1344,7 @@ exit:
return;
}
bool RoutingManager::OnLinkPrefixManager::IsInitalEvaluationDone(void) const
bool RoutingManager::OnLinkPrefixManager::IsInitialEvaluationDone(void) const
{
// This method indicates whether or not we are done with the
// initial policy evaluation of the on-link prefixes, i.e., either
+4 -4
View File
@@ -581,8 +581,8 @@ private:
// randomly selected within the range [interval - jitter,
// interval + jitter].
static constexpr uint32_t kInitalRaTxCount = 3;
static constexpr uint32_t kInitalRaInterval = Time::kOneSecondInMsec * 16;
static constexpr uint32_t kInitialRaTxCount = 3;
static constexpr uint32_t kInitialRaInterval = Time::kOneSecondInMsec * 16;
static constexpr uint16_t kInitialRaJitter = Time::kOneSecondInMsec * 2;
static constexpr uint32_t kRaBeaconInterval = Time::kOneSecondInMsec * 180; // 3 minutes
static constexpr uint16_t kRaBeaconJitter = Time::kOneSecondInMsec * 15;
@@ -623,7 +623,7 @@ private:
void Init(const Ip6::Prefix &aBrUlaPrefix);
void Start(void);
void Stop(void);
bool IsInitalEvaluationDone(void) const;
bool IsInitialEvaluationDone(void) const;
OmrConfig GetConfig(Ip6::Prefix *aPrefix, RoutePreference *aPreference) const;
Error SetConfig(OmrConfig aConfig, const Ip6::Prefix *aPrefix, RoutePreference aPreference);
void Evaluate(void);
@@ -678,7 +678,7 @@ private:
const Ip6::Prefix &GetLocalPrefix(void) const { return mLocalPrefix; }
const Ip6::Prefix &GetFavoredPrefix(void) const { return mFavoredPrefix; }
bool AddressMatchesLocalPrefix(const Ip6::Address &aAddress) const;
bool IsInitalEvaluationDone(void) const;
bool IsInitialEvaluationDone(void) const;
void HandleRxRaTrackerChanged(void);
bool ShouldPublishUlaRoute(void) const;
Error AppendAsPiosTo(RouterAdvert::TxMessage &aRaMessage);