[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.92 and 1.93

version 1.92, 2001/01/30 22:48:52 version 1.93, 2001/02/04 15:32:26
Line 324 
Line 324 
         int remote_major, remote_minor, i, mismatch;          int remote_major, remote_minor, i, mismatch;
         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();
         int minor1 = PROTOCOL_MINOR_1;          int minor1 = PROTOCOL_MINOR_1;
   
         /* Read other side\'s version identification. */          /* Read other side\'s version identification. */
         for (;;) {          for (;;) {
Line 680 
Line 680 
                         error("X11 forwarding is disabled to avoid trojan horses.");                          error("X11 forwarding is disabled to avoid trojan horses.");
                         options.forward_x11 = 0;                          options.forward_x11 = 0;
                 }                  }
                 if (options.num_local_forwards > 0 || options.num_remote_forwards > 0) {                  if (options.num_local_forwards > 0 || options.num_remote_forwards > 0) {
                         error("Port forwarding is disabled to avoid trojan horses.");                          error("Port forwarding is disabled to avoid trojan horses.");
                         options.num_local_forwards = options.num_remote_forwards = 0;                          options.num_local_forwards = options.num_remote_forwards = 0;
                 }                  }

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.93