Fix NOINET6 build broken by r361575.
Reported by: ci, hps
This commit is contained in:
parent
ccbaa67d8b
commit
9d5df78e64
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=361584
@ -971,7 +971,7 @@ u_int8_t *
|
||||
nfscl_getmyip(struct nfsmount *nmp, struct in6_addr *paddr, int *isinet6p)
|
||||
{
|
||||
#if defined(INET6) || defined(INET)
|
||||
int error, fibnum;
|
||||
int fibnum;
|
||||
|
||||
fibnum = curthread->td_proc->p_fibnum;
|
||||
#endif
|
||||
@ -1007,6 +1007,7 @@ nfscl_getmyip(struct nfsmount *nmp, struct in6_addr *paddr, int *isinet6p)
|
||||
#ifdef INET6
|
||||
if (nmp->nm_nam->sa_family == AF_INET6) {
|
||||
struct sockaddr_in6 *sin6;
|
||||
int error;
|
||||
|
||||
sin6 = (struct sockaddr_in6 *)nmp->nm_nam;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user