sys: net: ipv6: fix max ipv6 address string length
This commit is contained in:
parent
087b51e10b
commit
cf53d966be
@ -44,7 +44,7 @@ extern "C" {
|
|||||||
* @brief Maximum length of an IPv6 address as string.
|
* @brief Maximum length of an IPv6 address as string.
|
||||||
*/
|
*/
|
||||||
#define NG_IPV6_ADDR_MAX_STR_LEN (sizeof("ffff:ffff:ffff:ffff:" \
|
#define NG_IPV6_ADDR_MAX_STR_LEN (sizeof("ffff:ffff:ffff:ffff:" \
|
||||||
"ffff:ffff:ffff:ffff"))
|
"ffff:ffff:255.255.255.255"))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Data type to represent an IPv6 address.
|
* @brief Data type to represent an IPv6 address.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user