2008-04-13 08:49:04 +00:00
|
|
|
Index: nfs-utils-1.1.2/support/nfs/svc_socket.c
|
|
|
|
===================================================================
|
|
|
|
--- nfs-utils-1.1.2.orig/support/nfs/svc_socket.c 2008-04-13 10:38:24.000000000 +0200
|
|
|
|
+++ nfs-utils-1.1.2/support/nfs/svc_socket.c 2008-04-13 10:38:24.000000000 +0200
|
2007-06-13 17:21:03 +00:00
|
|
|
@@ -67,8 +67,10 @@
|
|
|
|
memset (&addr, 0, sizeof (addr));
|
|
|
|
addr.sin_family = AF_INET;
|
|
|
|
|
|
|
|
- ret = getrpcbynumber_r (number, &rpcbuf, rpcdata, sizeof rpcdata,
|
|
|
|
- &rpcp);
|
|
|
|
+// ret = getrpcbynumber_r (number, &rpcbuf, rpcdata, sizeof rpcdata,
|
|
|
|
+// &rpcp);
|
|
|
|
+ rpcp = getrpcbynumber (number);
|
|
|
|
+ ret = 0;
|
|
|
|
if (ret == 0 && rpcp != NULL)
|
|
|
|
{
|
|
|
|
/* First try name. */
|