summaryrefslogtreecommitdiff
path: root/include/net-common.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-11-19 11:09:07 +0100
committerTom Rini <trini@konsulko.com>2025-01-01 14:35:54 -0600
commitdc5ff7443ee58f091e276e30ad84ea6006ee5af6 (patch)
tree7df8cbe0772c85f19f940475084526d48af014bf /include/net-common.h
parent3912611cd1a03c45a91c6f3b42b27c2dc6d67cd9 (diff)
net: correct the description of ip_to_string()
The output of ip_to_string() is a string. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include/net-common.h')
-rw-r--r--include/net-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net-common.h b/include/net-common.h
index 8fc1bac47f5..29d31f37263 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)
*