git: e347b72a3914 - stable/13 - netinet6: Fix two typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Jan 2024 06:53:09 UTC
The branch stable/13 has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=e347b72a3914be25ff77f987511165fc1af4562c
commit e347b72a3914be25ff77f987511165fc1af4562c
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-01-22 20:48:34 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-01-25 06:52:11 +0000
netinet6: Fix two typos in source code comments
- s/adddress/address/
(cherry picked from commit 496432f192165b8700da4b0ab8ebdd253002e265)
---
sys/netinet6/nd6_nbr.c | 2 +-
sys/netinet6/scope6.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c
index 7f6ce3f80e22..70f02561cefa 100644
--- a/sys/netinet6/nd6_nbr.c
+++ b/sys/netinet6/nd6_nbr.c
@@ -284,7 +284,7 @@ nd6_ns_input(struct mbuf *m, int off, int icmp6len)
}
if (ifa == NULL) {
/*
- * We've got an NS packet, and we don't have that adddress
+ * We've got an NS packet, and we don't have that address
* assigned for us. We MUST silently ignore it.
* See RFC2461 7.2.3.
*/
diff --git a/sys/netinet6/scope6.c b/sys/netinet6/scope6.c
index b3bb5c248834..f2a68019fa13 100644
--- a/sys/netinet6/scope6.c
+++ b/sys/netinet6/scope6.c
@@ -512,7 +512,7 @@ in6_getscopezone(const struct ifnet *ifp, int scope)
}
/*
- * Extracts scope from adddress @dst, stores cleared address
+ * Extracts scope from address @dst, stores cleared address
* inside @dst and zone inside @scopeid
*/
void