summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2018-02-22 02:15:45 +0000
committerasomers <asomers@FreeBSD.org>2018-02-22 02:15:45 +0000
commitff446e4194b47425a5e6e1d023a6e8162ff91f48 (patch)
tree8c3b3c79afce90f076a289d389711a7f8cecf9fc
parent823207b8a7c685bf7364189a41758f15a9ec62ce (diff)
downloadFreeBSD-src-ff446e4194b47425a5e6e1d023a6e8162ff91f48.zip
FreeBSD-src-ff446e4194b47425a5e6e1d023a6e8162ff91f48.tar.gz
MFC r328296:
sys/netinet6: fix typos in comments. No functional change. Sponsored by: Spectra Logic Corp
-rw-r--r--sys/netinet6/in6.c2
-rw-r--r--sys/netinet6/scope6.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c
index 4df3564..a04a396 100644
--- a/sys/netinet6/in6.c
+++ b/sys/netinet6/in6.c
@@ -1449,7 +1449,7 @@ in6ifa_ifpforlinklocal(struct ifnet *ifp, int ignoreflags)
/*
- * find the internet address corresponding to a given address.
+ * find the interface address corresponding to a given IPv6 address.
* ifaddr is returned referenced.
*/
struct in6_ifaddr *
diff --git a/sys/netinet6/scope6.c b/sys/netinet6/scope6.c
index a00842e..e5da367 100644
--- a/sys/netinet6/scope6.c
+++ b/sys/netinet6/scope6.c
@@ -409,7 +409,7 @@ in6_setscope(struct in6_addr *in6, struct ifnet *ifp, u_int32_t *ret_id)
if (scope == IPV6_ADDR_SCOPE_INTFACELOCAL ||
scope == IPV6_ADDR_SCOPE_LINKLOCAL) {
/*
- * Currently we use interface indeces as the
+ * Currently we use interface indices as the
* zone IDs for interface-local and link-local
* scopes.
*/
OpenPOWER on IntegriCloud