14 lines
672 B
Diff
14 lines
672 B
Diff
diff --git a/xlators/nfs/server/src/nlm4.c b/xlators/nfs/server/src/nlm4.c
|
|
index e040aa5..eca107d 100644
|
|
--- a/xlators/nfs/server/src/nlm4.c
|
|
+++ b/xlators/nfs/server/src/nlm4.c
|
|
@@ -941,7 +941,7 @@ nlm4_establish_callback (void *csarg)
|
|
case AF_INET:
|
|
inet_ntop (AF_INET, &sock_union.sin.sin_addr, peerip,
|
|
INET6_ADDRSTRLEN+1);
|
|
- inet_ntop (AF_INET, &(((struct sockaddr_in *)&cs->req->trans->myinfo.sockaddr)->sin_addr),
|
|
+ inet_ntop (AF_INET, &(((struct sockaddr_in *)&cs->trans->myinfo.sockaddr)->sin_addr),
|
|
myip, INET6_ADDRSTRLEN + 1);
|
|
|
|
break;
|