diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libc/net/rcmd.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/libc/net/rcmd.c b/src/lib/libc/net/rcmd.c index afa59dde97..4004882deb 100644 --- a/src/lib/libc/net/rcmd.c +++ b/src/lib/libc/net/rcmd.c | |||
@@ -177,13 +177,6 @@ rcmd_af(char **ahost, int porta, const char *locuser, const char *remuser, | |||
177 | /* given "af" can be PF_UNSPEC, we need the real af for "s" */ | 177 | /* given "af" can be PF_UNSPEC, we need the real af for "s" */ |
178 | af = r->ai_family; | 178 | af = r->ai_family; |
179 | freeaddrinfo(res); | 179 | freeaddrinfo(res); |
180 | #if 0 | ||
181 | /* | ||
182 | * try to rresvport() to the same port. This will make rresvport() | ||
183 | * fail it's first bind, resulting in it choosing a random port. | ||
184 | */ | ||
185 | lport--; | ||
186 | #endif | ||
187 | if (fd2p == 0) { | 180 | if (fd2p == 0) { |
188 | write(s, "", 1); | 181 | write(s, "", 1); |
189 | lport = 0; | 182 | lport = 0; |