git: 96b62eae3c24 - stable/14 - netinet: Update a comment for in_localip()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Feb 2025 14:46:39 UTC
The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=96b62eae3c24062b817d5f77521e8c28f430a393 commit 96b62eae3c24062b817d5f77521e8c28f430a393 Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2025-02-24 10:14:39 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2025-02-27 14:45:47 +0000 netinet: Update a comment for in_localip() The function in_localip() was changed to return bool but the comment was left unchanged. Fixes: c8ee75f2315e Use network epoch to protect local IPv4 addresses hash MFC after: 3 days (cherry picked from commit a5e380e51cdba64a392846a4eeda000f948f42ce) --- sys/netinet/in.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/in.c b/sys/netinet/in.c index 4ef1d9735658..de6224ad9ebc 100644 --- a/sys/netinet/in.c +++ b/sys/netinet/in.c @@ -149,7 +149,7 @@ in_localaddr(struct in_addr in) } /* - * Return 1 if an internet address is for the local host and configured + * Return true if an internet address is for the local host and configured * on one of its interfaces. */ bool