[nat64] fix typo: synthersize -> synthesize (#8213)

This commit is contained in:
Song GUO
2022-09-29 10:51:06 -07:00
committed by GitHub
parent 12a1e618b2
commit fc8949afb5
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ extern "C" {
* @note This number versions both OpenThread platform and user APIs. * @note This number versions both OpenThread platform and user APIs.
* *
*/ */
#define OPENTHREAD_API_VERSION (246) #define OPENTHREAD_API_VERSION (247)
/** /**
* @addtogroup api-instance * @addtogroup api-instance
+1 -1
View File
@@ -408,7 +408,7 @@ otError otIp4AddressFromString(const char *aString, otIp4Address *aAddress);
* @returns OT_ERROR_INVALID_STATE No valid NAT64 prefix in the network data. * @returns OT_ERROR_INVALID_STATE No valid NAT64 prefix in the network data.
* *
*/ */
otError otNat64SynthersizeIp6Address(otInstance *aInstance, const otIp4Address *aIp4Address, otIp6Address *aIp6Address); otError otNat64SynthesizeIp6Address(otInstance *aInstance, const otIp4Address *aIp4Address, otIp6Address *aIp6Address);
/** /**
* @} * @}
+1 -1
View File
@@ -472,7 +472,7 @@ otError Interpreter::ParseToIp6Address(otInstance * aInstance,
// Do not touch the error value if we failed to parse it as an IPv4 address. // Do not touch the error value if we failed to parse it as an IPv4 address.
SuccessOrExit(aArg.ParseAsIp4Address(ip4Address)); SuccessOrExit(aArg.ParseAsIp4Address(ip4Address));
SuccessOrExit(error = otNat64SynthersizeIp6Address(aInstance, &ip4Address, &aAddress)); SuccessOrExit(error = otNat64SynthesizeIp6Address(aInstance, &ip4Address, &aAddress));
aSynthesized = true; aSynthesized = true;
} }
+1 -1
View File
@@ -238,7 +238,7 @@ public:
/** /**
* This method parses the argument as an IP address. * This method parses the argument as an IP address.
* *
* If the argument string is an IPv4 address, this method will try to synthersize an IPv6 address using preferred * If the argument string is an IPv4 address, this method will try to synthesize an IPv6 address using preferred
* NAT64 prefix in the network data. * NAT64 prefix in the network data.
* *
* @param[in] aInstance A pointer to openthread instance. * @param[in] aInstance A pointer to openthread instance.
+1 -1
View File
@@ -116,7 +116,7 @@ otError otIp4AddressFromString(const char *aString, otIp4Address *aAddress)
return AsCoreType(aAddress).FromString(aString); return AsCoreType(aAddress).FromString(aString);
} }
otError otNat64SynthersizeIp6Address(otInstance *aInstance, const otIp4Address *aIp4Address, otIp6Address *aIp6Address) otError otNat64SynthesizeIp6Address(otInstance *aInstance, const otIp4Address *aIp4Address, otIp6Address *aIp6Address)
{ {
otError err = OT_ERROR_NONE; otError err = OT_ERROR_NONE;
NetworkData::ExternalRouteConfig nat64Prefix; NetworkData::ExternalRouteConfig nat64Prefix;