svn commit: r297891 - projects/pnfs-server/sys/fs/nfsclient
Rick Macklem
rmacklem at FreeBSD.org
Tue Apr 12 23:04:42 UTC 2016
Author: rmacklem
Date: Tue Apr 12 23:04:40 2016
New Revision: 297891
URL: https://svnweb.freebsd.org/changeset/base/297891
Log:
Fix the call to nfscl_getmyip().
Modified:
projects/pnfs-server/sys/fs/nfsclient/nfs_clrpcops.c
Modified: projects/pnfs-server/sys/fs/nfsclient/nfs_clrpcops.c
==============================================================================
--- projects/pnfs-server/sys/fs/nfsclient/nfs_clrpcops.c Tue Apr 12 23:03:37 2016 (r297890)
+++ projects/pnfs-server/sys/fs/nfsclient/nfs_clrpcops.c Tue Apr 12 23:04:40 2016 (r297891)
@@ -856,6 +856,7 @@ nfsrpc_setclient(struct nfsmount *nmp, s
u_int32_t lease;
static u_int32_t rev = 0;
struct nfsclds *dsp, *ndsp, *tdsp;
+ struct in6_addr a6;
if (nfsboottime.tv_sec == 0)
NFSSETBOOTTIME(nfsboottime);
@@ -916,7 +917,7 @@ nfsrpc_setclient(struct nfsmount *nmp, s
*tl = txdr_unsigned(NFS_CALLBCKPROG);
callblen = strlen(nfsv4_callbackaddr);
if (callblen == 0)
- cp = nfscl_getmyip(nmp, &isinet6);
+ cp = nfscl_getmyip(nmp, &a6, &isinet6);
if (nfscl_enablecallb && nfs_numnfscbd > 0 &&
(callblen > 0 || cp != NULL)) {
port = htons(nfsv4_cbport);
More information about the svn-src-projects
mailing list