summaryrefslogtreecommitdiffstats
path: root/support/nfs/svc_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/nfs/svc_socket.c')
-rw-r--r--support/nfs/svc_socket.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/support/nfs/svc_socket.c b/support/nfs/svc_socket.c
index 6799d16..f44217a 100644
--- a/support/nfs/svc_socket.c
+++ b/support/nfs/svc_socket.c
@@ -101,8 +101,6 @@ svc_socket (u_long number, int type, int protocol, int reuse)
}
else
{
- if (bindresvport (sock, &addr))
- {
addr.sin_port = 0;
if (bind (sock, (struct sockaddr *) &addr, len) < 0)
{
@@ -110,7 +108,6 @@ svc_socket (u_long number, int type, int protocol, int reuse)
(void) __close (sock);
sock = -1;
}
- }
}
if (sock >= 0)