Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2024 21:03:59 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 496432f19216 - main - netinet6: Fix two typos in source code comments
Message-ID:  <202401222103.40ML3xIm080651@gitrepo.freebsd.org>

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

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

commit 496432f192165b8700da4b0ab8ebdd253002e265
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-01-22 20:48:34 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-01-22 20:48:34 +0000

    netinet6: Fix two typos in source code comments
    
    - s/adddress/address/
    
    MFC after:      3 days
---
 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 f3cfd4602548..0987ea7e99ad 100644
--- a/sys/netinet6/scope6.c
+++ b/sys/netinet6/scope6.c
@@ -525,7 +525,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?202401222103.40ML3xIm080651>