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

Diff for /src/usr.bin/ssh/ssh.c between version 1.519 and 1.520

version 1.519, 2020/02/07 03:54:44 version 1.520, 2020/02/18 08:49:49
Line 1187 
Line 1187 
         if (options.jump_host != NULL) {          if (options.jump_host != NULL) {
                 char port_s[8];                  char port_s[8];
                 const char *sshbin = argv0;                  const char *sshbin = argv0;
                   int port = options.port, jumpport = options.jump_port;
   
                   if (port <= 0)
                           port = default_ssh_port();
                   if (jumpport <= 0)
                           jumpport = default_ssh_port();
                   if (strcmp(options.jump_host, host) == 0 && port == jumpport)
                           fatal("jumphost loop via %s", options.jump_host);
   
                 /*                  /*
                  * Try to use SSH indicated by argv[0], but fall back to                   * Try to use SSH indicated by argv[0], but fall back to

Legend:
Removed from v.1.519  
changed lines
  Added in v.1.520