[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.16 and 1.17

version 1.16, 1999/10/06 20:07:42 version 1.17, 1999/10/14 18:17:42
Line 886 
Line 886 
   int remote_major, remote_minor, i;    int remote_major, remote_minor, i;
   int connection_in = packet_get_connection_in();    int connection_in = packet_get_connection_in();
   int connection_out = packet_get_connection_out();    int connection_out = packet_get_connection_out();
     extern Options options;
   
   /* Read other side\'s version identification. */    /* Read other side\'s version identification. */
   for (i = 0; i < sizeof(buf) - 1; i++)    for (i = 0; i < sizeof(buf) - 1; i++)
Line 913 
Line 914 
     fatal("Bad remote protocol version identification: '%.100s'", buf);      fatal("Bad remote protocol version identification: '%.100s'", buf);
   debug("Remote protocol version %d.%d, remote software version %.100s",    debug("Remote protocol version %d.%d, remote software version %.100s",
         remote_major, remote_minor, remote_version);          remote_major, remote_minor, remote_version);
   
     if (options.forward_agent && strcmp(remote_version, SSH_VERSION) != 0)
       {
         log("Agent forwarding disabled, remote version is not '%s'.",
               SSH_VERSION);
         options.forward_agent = 0;
       }
 #if 0  #if 0
   /* Removed for now, to permit compatibility with latter versions.  The server    /* Removed for now, to permit compatibility with latter versions.  The server
      will reject our version and disconnect if it doesn't support it. */       will reject our version and disconnect if it doesn't support it. */

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17