Remove old pre-TIRPC code for getting transport handles. The code that
follows spams over the contents of them making the removed code useless.
This commit is contained in:
parent
6395da5437
commit
7b9136e8ea
@ -381,11 +381,6 @@ main(argc, argv)
|
||||
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);
|
||||
|
@ -381,11 +381,6 @@ main(argc, argv)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user