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

Diff for /src/usr.bin/ssh/sshconnect.c between version 1.366 and 1.367

version 1.366, 2024/01/11 01:45:36 version 1.367, 2024/04/23 13:34:50
Line 609 
Line 609 
                 if (options.proxy_command == NULL) {                  if (options.proxy_command == NULL) {
                         if (getnameinfo(hostaddr, hostaddr->sa_len,                          if (getnameinfo(hostaddr, hostaddr->sa_len,
                             ntop, sizeof(ntop), NULL, 0, NI_NUMERICHOST) != 0)                              ntop, sizeof(ntop), NULL, 0, NI_NUMERICHOST) != 0)
                         fatal_f("getnameinfo failed");                                  fatal_f("getnameinfo failed");
                         *hostfile_ipaddr = put_host_port(ntop, port);                          *hostfile_ipaddr = put_host_port(ntop, port);
                 } else {                  } else {
                         *hostfile_ipaddr = xstrdup("<no hostip for proxy "                          *hostfile_ipaddr = xstrdup("<no hostip for proxy "

Legend:
Removed from v.1.366  
changed lines
  Added in v.1.367