[PATCH 1/1] net: correct the description of ip_to_string()
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Tue Nov 19 11:09:07 CET 2024
The output of ip_to_string() is a string.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
include/net-common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/net-common.h b/include/net-common.h
index b7a519e36db..ed3d0a4a185 100644
--- a/include/net-common.h
+++ b/include/net-common.h
@@ -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)
*
--
2.45.2
More information about the U-Boot
mailing list