diff --git a/include/openthread/instance.h b/include/openthread/instance.h index 887c58cb6..b1079aab7 100644 --- a/include/openthread/instance.h +++ b/include/openthread/instance.h @@ -53,7 +53,7 @@ extern "C" { * @note This number versions both OpenThread platform and user APIs. * */ -#define OPENTHREAD_API_VERSION (423) +#define OPENTHREAD_API_VERSION (424) /** * @addtogroup api-instance diff --git a/include/openthread/srp_client.h b/include/openthread/srp_client.h index 71a217c37..27c87f3d0 100644 --- a/include/openthread/srp_client.h +++ b/include/openthread/srp_client.h @@ -201,7 +201,7 @@ typedef void (*otSrpClientAutoStartCallback)(const otSockAddr *aServerSockAddr, * * - The SRP client is started - `otSrpClientStart()` is called. * - Host name is set - `otSrpClientSetHostName()` is called. - * - At least one host IPv6 address is set - `otSrpClientSetHostName()` is called. + * - At least one host IPv6 address is set - `otSrpClientSetHostAddresses()` is called. * - At least one service is added - `otSrpClientAddService()` is called. * * It does not matter in which order these functions are called. When all conditions are met, the SRP client will