svn commit: r361757 - head/sys/netinet6

Ryan Moeller freqlabs at FreeBSD.org
Wed Jun 3 17:26:01 UTC 2020


Author: freqlabs
Date: Wed Jun  3 17:26:00 2020
New Revision: 361757
URL: https://svnweb.freebsd.org/changeset/base/361757

Log:
  Fix typo in previous commit
  
  Applied the wrong patch
  
  Reported by:	Michael Butler <imb at protected-networks.net>
  Approved by:	mav (mentor)
  Sponsored by:	iXsystems.com

Modified:
  head/sys/netinet6/scope6.c

Modified: head/sys/netinet6/scope6.c
==============================================================================
--- head/sys/netinet6/scope6.c	Wed Jun  3 16:57:30 2020	(r361756)
+++ head/sys/netinet6/scope6.c	Wed Jun  3 17:26:00 2020	(r361757)
@@ -422,7 +422,7 @@ in6_setscope(struct in6_addr *in6, struct ifnet *ifp, 
 			struct epoch_tracker et;
 
 			NET_EPOCH_ENTER(et);
-			if (ifp->if_afinfo[AF_INET6] == NULL) {
+			if (ifp->if_afdata[AF_INET6] == NULL) {
 				NET_EPOCH_EXIT(et);
 				return (ENETDOWN);
 			}


More information about the svn-src-all mailing list