summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libc/net/rcmd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/libc/net/rcmd.c b/src/lib/libc/net/rcmd.c
index 86f35664e4..727a26e173 100644
--- a/src/lib/libc/net/rcmd.c
+++ b/src/lib/libc/net/rcmd.c
@@ -133,7 +133,13 @@ rcmd(ahost, rport, locuser, remuser, cmd, fd2p)
133 sigsetmask(oldmask); 133 sigsetmask(oldmask);
134 return (-1); 134 return (-1);
135 } 135 }
136#if 0
137 /*
138 * try to rresvport() to the same port. This will make rresvport()
139 * fail it's first bind, resulting in it choosing a random port.
140 */
136 lport--; 141 lport--;
142#endif
137 if (fd2p == 0) { 143 if (fd2p == 0) {
138 write(s, "", 1); 144 write(s, "", 1);
139 lport = 0; 145 lport = 0;