[meshcop] fix the build when Border Agent ID is disabled (#11498)

This commit is contained in:
Handa Wang
2025-05-15 12:48:30 +08:00
committed by GitHub
parent 078c6f1dc5
commit 9ff0f8834e

View File

@ -648,7 +648,10 @@ DeclareTmfHandler(BorderAgent, kUriRelayRx);
} // namespace MeshCoP
#if OPENTHREAD_CONFIG_BORDER_AGENT_ID_ENABLE
DefineCoreType(otBorderAgentId, MeshCoP::BorderAgent::Id);
#endif
DefineCoreType(otBorderAgentSessionIterator, MeshCoP::BorderAgent::SessionIterator);
#if OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE