From 03ae273076386996782a5245a8dcd825add235a5 Mon Sep 17 00:00:00 2001 From: alfred Date: Tue, 25 Jun 2002 22:55:53 +0000 Subject: Remove old pre-TIRPC code for getting transport handles. The code that follows spams over the contents of them making the removed code useless. --- usr.sbin/mountd/mountd.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'usr.sbin') 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); -- cgit v1.1