Fix typo in previous commit

Applied the wrong patch

Reported by:	Michael Butler <imb@protected-networks.net>
Approved by:	mav (mentor)
Sponsored by:	iXsystems.com
This commit is contained in:
Ryan Moeller 2020-06-03 17:26:00 +00:00
parent f057d56c6c
commit 78a3645fd2

View File

@ -422,7 +422,7 @@ in6_setscope(struct in6_addr *in6, struct ifnet *ifp, u_int32_t *ret_id)
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);
}