[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.394 and 1.395

version 1.394, 2019/07/07 01:05:00 version 1.395, 2020/01/25 06:40:20
Line 3323 
Line 3323 
                 } else if (strcmp(listen_addr, "localhost") != 0 ||                  } else if (strcmp(listen_addr, "localhost") != 0 ||
                     strcmp(listen_addr, "127.0.0.1") == 0 ||                      strcmp(listen_addr, "127.0.0.1") == 0 ||
                     strcmp(listen_addr, "::1") == 0) {                      strcmp(listen_addr, "::1") == 0) {
                         /* Accept localhost address when GatewayPorts=yes */                          /*
                            * Accept explicit localhost address when
                            * GatewayPorts=yes. The "localhost" hostname is
                            * deliberately skipped here so it will listen on all
                            * available local address families.
                            */
                         addr = listen_addr;                          addr = listen_addr;
                 }                  }
         } else if (strcmp(listen_addr, "127.0.0.1") == 0 ||          } else if (strcmp(listen_addr, "127.0.0.1") == 0 ||

Legend:
Removed from v.1.394  
changed lines
  Added in v.1.395