[dua/mlr-manager] refine logs (#6590)

This commit is contained in:
Rongli Sun
2021-05-07 19:27:11 -07:00
committed by GitHub
parent 122d8b8d71
commit e99d16e81c
2 changed files with 12 additions and 8 deletions
+4 -2
View File
@@ -528,14 +528,16 @@ void DuaManager::PerformNextRegistration(void)
Get<DataPollSender>().SendFastPolls();
}
otLogInfoDua("Sent DUA.req for DUA %s", dua.ToString().AsCString());
exit:
if (error == kErrorNoBufs)
{
UpdateCheckDelay(Mle::kNoBufDelay);
}
otLogInfoDua("PerformNextRegistration: %s", ErrorToString(error));
FreeMessageOnError(message, error);
otLogInfoDua("Sent DUA.req for DUA %s: %s", dua.ToString().AsCString(), ErrorToString(error));
}
void DuaManager::HandleDuaResponse(Coap::Message *aMessage, const Ip6::MessageInfo *aMessageInfo, Error aResult)
@@ -565,7 +567,7 @@ exit:
mRegistrationTask.Post();
}
otLogInfoDua("Received DUA.req: %s", ErrorToString(error));
otLogInfoDua("Received DUA.rsp: %s", ErrorToString(error));
}
void DuaManager::HandleDuaNotification(Coap::Message &aMessage, const Ip6::MessageInfo &aMessageInfo)