sys: net: ipv6: fix max ipv6 address string length

This commit is contained in:
Kaspar Schleiser 2015-04-09 21:25:07 +02:00
parent 087b51e10b
commit cf53d966be

View File

@ -44,7 +44,7 @@ extern "C" {
* @brief Maximum length of an IPv6 address as string.
*/
#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.