From 71f933312d079b127f258d19bef76b6da7cbd58d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Thu, 9 Sep 2021 03:56:39 +0200 Subject: [PATCH] ipv6: fix typo in ipv6_addr_to_str documentation It doesn't make any sense that `result_len` should specify the length of `result_len`. Instead, `result_len` should specify the length of the `result` parameter. --- sys/include/net/ipv6/addr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/include/net/ipv6/addr.h b/sys/include/net/ipv6/addr.h index 80cd7e4439..c2ebe89341 100644 --- a/sys/include/net/ipv6/addr.h +++ b/sys/include/net/ipv6/addr.h @@ -699,7 +699,7 @@ static inline void ipv6_addr_set_solicited_nodes(ipv6_addr_t *out, const ipv6_ad * @param[out] result The resulting string representation of at least * @ref IPV6_ADDR_MAX_STR_LEN * @param[in] addr An IPv6 address - * @param[in] result_len Length of @p result_len + * @param[in] result_len Length of @p result * * @return @p result, on success * @return NULL, if @p result_len was lesser than IPV6_ADDR_MAX_STR_LEN