summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/mountd/mountd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c
index ee65a271..5940c4d 100644
--- a/usr.sbin/mountd/mountd.c
+++ b/usr.sbin/mountd/mountd.c
@@ -381,11 +381,6 @@ skip_v6:
exit(1);
}
}
- if ((udptransp = svcudp_create(RPC_ANYSOCK)) == NULL ||
- (tcptransp = svctcp_create(RPC_ANYSOCK, 0, 0)) == NULL) {
- syslog(LOG_ERR, "can't create socket");
- exit(1);
- }
if (udpsock != -1 && udpconf != NULL) {
bindresvport(udpsock, NULL);
udptransp = svc_dg_create(udpsock, 0, 0);
OpenPOWER on IntegriCloud