Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2024 06:48:29 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: a8dc27290f87 - stable/14 - netinet6: Fix two typos in source code comments
Message-ID:  <202401250648.40P6mTvt017224@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=a8dc27290f8704057673c14d160c53ba14144380

commit a8dc27290f8704057673c14d160c53ba14144380
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:46:35 +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 7d89fcc4ee69..7b4fa7a8d8c9 100644
--- a/sys/netinet6/nd6_nbr.c
+++ b/sys/netinet6/nd6_nbr.c
@@ -262,7 +262,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 73702d8b8039..968d42aeb498 100644
--- a/sys/netinet6/scope6.c
+++ b/sys/netinet6/scope6.c
@@ -526,7 +526,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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401250648.40P6mTvt017224>