net: correct the description of ip_to_string()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 19 Nov 2024 10:09:07 +0000 (11:09 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 1 Jan 2025 20:35:54 +0000 (14:35 -0600)
The output of ip_to_string() is a string.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/net-common.h

index 8fc1bac..29d31f3 100644 (file)
@@ -427,7 +427,7 @@ void string_to_enetaddr(const char *addr, uint8_t *enetaddr);
 struct in_addr string_to_ip(const char *s);
 
 /**
- * ip_to_string() - Convert a string to ip address
+ * ip_to_string() - Convert an IPv4 address to a string
  *
  * Implemented in lib/net_utils.c (built unconditionally)
  *