svn commit: r294095 - head/sys/fs/nfsclient

Bjoern A. Zeeb bz at FreeBSD.org
Fri Jan 15 16:45:37 UTC 2016


Author: bz
Date: Fri Jan 15 16:45:36 2016
New Revision: 294095
URL: https://svnweb.freebsd.org/changeset/base/294095

Log:
  Unbreak NOIP builds after r294084.

Modified:
  head/sys/fs/nfsclient/nfs_clport.c

Modified: head/sys/fs/nfsclient/nfs_clport.c
==============================================================================
--- head/sys/fs/nfsclient/nfs_clport.c	Fri Jan 15 15:20:26 2016	(r294094)
+++ head/sys/fs/nfsclient/nfs_clport.c	Fri Jan 15 16:45:36 2016	(r294095)
@@ -1049,10 +1049,11 @@ nfscl_loadfsinfo(struct nfsmount *nmp, s
 u_int8_t *
 nfscl_getmyip(struct nfsmount *nmp, struct in6_addr *paddr, int *isinet6p)
 {
+#if defined(INET6) || defined(INET)
 	int error, fibnum;
 
 	fibnum = curthread->td_proc->p_fibnum;
-
+#endif
 #ifdef INET
 	if (nmp->nm_nam->sa_family == AF_INET) {
 		struct sockaddr_in *sin;


More information about the svn-src-head mailing list