[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.90 and 1.91

version 1.90, 2001/02/06 22:43:02 version 1.91, 2001/02/06 23:03:24
Line 175 
Line 175 
         fprintf(stderr, "  -g          Allow remote hosts to connect to forwarded ports.\n");          fprintf(stderr, "  -g          Allow remote hosts to connect to forwarded ports.\n");
         fprintf(stderr, "  -4          Use IPv4 only.\n");          fprintf(stderr, "  -4          Use IPv4 only.\n");
         fprintf(stderr, "  -6          Use IPv6 only.\n");          fprintf(stderr, "  -6          Use IPv6 only.\n");
           fprintf(stderr, "  -1          Force protocol version 1.\n");
         fprintf(stderr, "  -2          Force protocol version 2.\n");          fprintf(stderr, "  -2          Force protocol version 2.\n");
         fprintf(stderr, "  -o 'option' Process the option as if it was read from a configuration file.\n");          fprintf(stderr, "  -o 'option' Process the option as if it was read from a configuration file.\n");
         fprintf(stderr, "  -s          Invoke command (mandatory) as SSH2 subsystem.\n");          fprintf(stderr, "  -s          Invoke command (mandatory) as SSH2 subsystem.\n");
Line 310 
Line 311 
                         optarg = NULL;                          optarg = NULL;
                 }                  }
                 switch (opt) {                  switch (opt) {
                   case '1':
                           options.protocol = SSH_PROTO_1;
                           break;
                 case '2':                  case '2':
                         options.protocol = SSH_PROTO_2;                          options.protocol = SSH_PROTO_2;
                         break;                          break;

Legend:
Removed from v.1.90  
changed lines
  Added in v.1.91