mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
[core] fix typo in rloc16 variable name (#12102)
This commit corrects a typo in the variable name `rloc16` which was incorrectly written as `rlco16`.
This commit is contained in:
committed by
GitHub
parent
11d389fcea
commit
2e25607eec
@@ -3415,11 +3415,11 @@ void Mle::DelayedSender::Execute(const Schedule &aSchedule)
|
||||
|
||||
case kTypeLinkRequest:
|
||||
{
|
||||
uint16_t rlco16;
|
||||
uint16_t rloc16;
|
||||
Router *router;
|
||||
|
||||
IgnoreError(aSchedule.Read(sizeof(Header), rlco16));
|
||||
router = Get<RouterTable>().FindRouterByRloc16(rlco16);
|
||||
IgnoreError(aSchedule.Read(sizeof(Header), rloc16));
|
||||
router = Get<RouterTable>().FindRouterByRloc16(rloc16);
|
||||
|
||||
if (router != nullptr)
|
||||
{
|
||||
|
||||
@@ -768,7 +768,7 @@ void TestNetworkDataDsnSrpServices(void)
|
||||
{
|
||||
SuccessOrQuit(iterator.GetNextDnsSrpAnycastInfo(anycastInfo));
|
||||
|
||||
printf("\nanycastInfo { %s, seq:%d, rlco16:%04x, version:%u }",
|
||||
printf("\nanycastInfo { %s, seq:%d, rloc16:%04x, version:%u }",
|
||||
anycastInfo.mAnycastAddress.ToString().AsCString(), anycastInfo.mSequenceNumber, anycastInfo.mRloc16,
|
||||
anycastInfo.mVersion);
|
||||
|
||||
@@ -1046,7 +1046,7 @@ void TestNetworkDataDsnSrpAnycastSeqNumSelection(void)
|
||||
{
|
||||
SuccessOrQuit(iterator.GetNextDnsSrpAnycastInfo(anycastInfo));
|
||||
|
||||
printf("\n { %s, seq:%u, version:%u, rlco16:%04x }", anycastInfo.mAnycastAddress.ToString().AsCString(),
|
||||
printf("\n { %s, seq:%u, version:%u, rloc16:%04x }", anycastInfo.mAnycastAddress.ToString().AsCString(),
|
||||
|
||||
anycastInfo.mSequenceNumber, anycastInfo.mVersion, anycastInfo.mRloc16);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user