Page MenuHomeFreeBSD

D28610.diff
No OneTemporary

D28610.diff

diff --git a/crypto/openssh/sshd.c b/crypto/openssh/sshd.c
--- a/crypto/openssh/sshd.c
+++ b/crypto/openssh/sshd.c
@@ -1056,8 +1056,6 @@
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 @@
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.",

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 7:30 PM (22 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14722393
Default Alt Text
D28610.diff (763 B)

Event Timeline