[BACK]Return to channels.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/channels.c between version 1.376 and 1.377

version 1.376, 2017/10/25 00:15:35 version 1.377, 2017/12/05 01:30:19
Line 3320 
Line 3320 
                 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);                  sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
                 if (sock < 0) {                  if (sock < 0) {
                         /* this is no error since kernel may not support ipv6 */                          /* this is no error since kernel may not support ipv6 */
                         verbose("socket: %.100s", strerror(errno));                          verbose("socket [%s]:%s: %.100s", ntop, strport,
                               strerror(errno));
                         continue;                          continue;
                 }                  }
   
Line 3335 
Line 3336 
                          * address can be in if use ipv6 address is                           * address can be in if use ipv6 address is
                          * already bound                           * already bound
                          */                           */
                         verbose("bind: %.100s", strerror(errno));                          verbose("bind [%s]:%s: %.100s",
                               ntop, strport, strerror(errno));
                         close(sock);                          close(sock);
                         continue;                          continue;
                 }                  }
                 /* Start listening for connections on the socket. */                  /* Start listening for connections on the socket. */
                 if (listen(sock, SSH_LISTEN_BACKLOG) < 0) {                  if (listen(sock, SSH_LISTEN_BACKLOG) < 0) {
                         error("listen: %.100s", strerror(errno));                          error("listen [%s]:%s: %.100s", ntop, strport,
                               strerror(errno));
                         close(sock);                          close(sock);
                         continue;                          continue;
                 }                  }

Legend:
Removed from v.1.376  
changed lines
  Added in v.1.377