Blob Blame Raw
commit 24bc988ad64b927c062f2464963151da70c0ce68
Author: Anders Blomdell <anders.blomdell@control.lth.se>
Date:   Thu Jan 24 13:34:58 2008 -0500

    Fixed connectivity with Mac OS clients by making sure handle_reply()
    sets the correct fromlen in its recvfrom() call
    
    Signed-off-by: Steve Dickson <steved@redhat.com>

diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
index 131c05c..8f6b4c7 100644
--- a/src/rpcb_svc_com.c
+++ b/src/rpcb_svc_com.c
@@ -1246,6 +1246,7 @@ handle_reply(int fd, SVCXPRT *xprt)
 		goto done;
 
 	do {
+		fromlen = sizeof(ss);
 		inlen = recvfrom(fd, buffer, RPC_BUF_MAX, 0,
 			    (struct sockaddr *)&ss, &fromlen);
 	} while (inlen < 0 && errno == EINTR);