aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh')
-rw-r--r--crypto/openssh/sshd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/openssh/sshd.c b/crypto/openssh/sshd.c
index 06fa7b8de339..532e5dc04fc2 100644
--- a/crypto/openssh/sshd.c
+++ b/crypto/openssh/sshd.c
@@ -1056,8 +1056,6 @@ listen_on_addrs(struct listenaddr *la)
int ret, listen_sock;
struct addrinfo *ai;
char ntop[NI_MAXHOST], strport[NI_MAXSERV];
- int socksize;
- socklen_t len;
for (ai = la->addrs; ai; ai = ai->ai_next) {
if (ai->ai_family != AF_INET && ai->ai_family != AF_INET6)
@@ -1103,10 +1101,6 @@ listen_on_addrs(struct listenaddr *la)
debug("Bind to port %s on %s.", strport, ntop);
- len = sizeof(socksize);
- getsockopt(listen_sock, SOL_SOCKET, SO_RCVBUF, &socksize, &len);
- debug("Server TCP RWIN socket size: %d", socksize);
-
/* Bind the socket to the desired port. */
if (bind(listen_sock, ai->ai_addr, ai->ai_addrlen) < 0) {
error("Bind to port %s on %s failed: %.200s.",