Author: asomers
Date: Tue Jan 23 19:40:05 2018
New Revision: 328296
URL: https://svnweb.freebsd.org/changeset/base/328296

Log:
  sys/netinet6: fix typos in comments.  No functional change.
  
  MFC after:    3 weeks
  Sponsored by: Spectra Logic Corp

Modified:
  head/sys/netinet6/in6.c
  head/sys/netinet6/scope6.c

Modified: head/sys/netinet6/in6.c
==============================================================================
--- head/sys/netinet6/in6.c     Tue Jan 23 19:00:13 2018        (r328295)
+++ head/sys/netinet6/in6.c     Tue Jan 23 19:40:05 2018        (r328296)
@@ -1454,7 +1454,7 @@ in6ifa_ifpforlinklocal(struct ifnet *ifp, int ignorefl
 
 
 /*
- * 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 *

Modified: head/sys/netinet6/scope6.c
==============================================================================
--- head/sys/netinet6/scope6.c  Tue Jan 23 19:00:13 2018        (r328295)
+++ head/sys/netinet6/scope6.c  Tue Jan 23 19:40:05 2018        (r328296)
@@ -411,7 +411,7 @@ in6_setscope(struct in6_addr *in6, struct ifnet *ifp, 
                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.
                         */
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to