3716f3f030
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7611 3c298f89-4303-0410-b956-a3cf2f4a3e73
16 lines
538 B
Diff
16 lines
538 B
Diff
--- nfs-utils-1.1.0/support/nfs/svc_socket.c~ 2007-05-10 20:40:57.000000000 -0700
|
|
+++ nfs-utils-1.1.0/support/nfs/svc_socket.c 2007-06-07 15:37:39.000000000 -0700
|
|
@@ -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. */
|