diff options
author | alfred <alfred@FreeBSD.org> | 2002-06-25 22:55:53 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-06-25 22:55:53 +0000 |
commit | 03ae273076386996782a5245a8dcd825add235a5 (patch) | |
tree | 4fa5eff82a351e45f0ecf8f3908c1c4ba505d149 /usr.sbin/mountd/mountd.c | |
parent | 0f26e30daed1edaf8ae7da0ea9486a0cc8ac37cb (diff) | |
download | FreeBSD-src-03ae273076386996782a5245a8dcd825add235a5.zip FreeBSD-src-03ae273076386996782a5245a8dcd825add235a5.tar.gz |
Remove old pre-TIRPC code for getting transport handles. The code that
follows spams over the contents of them making the removed code useless.
Diffstat (limited to 'usr.sbin/mountd/mountd.c')
-rw-r--r-- | usr.sbin/mountd/mountd.c | 5 |
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); |