mirror of
https://github.com/espressif/openthread.git
synced 2026-08-08 11:47:46 +00:00
[nat64] fix typo: synthersize -> synthesize (#8213)
This commit is contained in:
@@ -53,7 +53,7 @@ extern "C" {
|
||||
* @note This number versions both OpenThread platform and user APIs.
|
||||
*
|
||||
*/
|
||||
#define OPENTHREAD_API_VERSION (246)
|
||||
#define OPENTHREAD_API_VERSION (247)
|
||||
|
||||
/**
|
||||
* @addtogroup api-instance
|
||||
|
||||
@@ -408,7 +408,7 @@ otError otIp4AddressFromString(const char *aString, otIp4Address *aAddress);
|
||||
* @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
@@ -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.
|
||||
SuccessOrExit(aArg.ParseAsIp4Address(ip4Address));
|
||||
SuccessOrExit(error = otNat64SynthersizeIp6Address(aInstance, &ip4Address, &aAddress));
|
||||
SuccessOrExit(error = otNat64SynthesizeIp6Address(aInstance, &ip4Address, &aAddress));
|
||||
aSynthesized = true;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -238,7 +238,7 @@ public:
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
* @param[in] aInstance A pointer to openthread instance.
|
||||
|
||||
@@ -116,7 +116,7 @@ otError otIp4AddressFromString(const char *aString, otIp4Address *aAddress)
|
||||
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;
|
||||
NetworkData::ExternalRouteConfig nat64Prefix;
|
||||
|
||||
Reference in New Issue
Block a user