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

Diff for /src/usr.bin/ssh/readconf.c between version 1.5 and 1.6

version 1.5, 1999/09/29 18:16:19 version 1.6, 1999/09/30 05:03:05
Line 323 
Line 323 
         *intptr = value;          *intptr = value;
       break;        break;
   
 #ifdef WITH_ZLIB  
     case oCompression:      case oCompression:
       intptr = &options->compression;        intptr = &options->compression;
       goto parse_flag;        goto parse_flag;
 #endif /* WITH_ZLIB */  
   
     case oKeepAlives:      case oKeepAlives:
       intptr = &options->keepalives;        intptr = &options->keepalives;
Line 342 
Line 340 
                 linenum);                  linenum);
       break;        break;
   
 #ifdef WITH_ZLIB  
     case oCompressionLevel:      case oCompressionLevel:
       intptr = &options->compression_level;        intptr = &options->compression_level;
       goto parse_int;        goto parse_int;
 #endif /* WITH_ZLIB */  
   
     case oIdentityFile:      case oIdentityFile:
       cp = strtok(NULL, WHITESPACE);        cp = strtok(NULL, WHITESPACE);
Line 577 
Line 573 
   options->use_rsh = -1;    options->use_rsh = -1;
   options->batch_mode = -1;    options->batch_mode = -1;
   options->strict_host_key_checking = -1;    options->strict_host_key_checking = -1;
 #ifdef WITH_ZLIB  
   options->compression = -1;    options->compression = -1;
 #endif /* WITH_ZLIB */  
   options->keepalives = -1;    options->keepalives = -1;
 #ifdef WITH_ZLIB  
   options->compression_level = -1;    options->compression_level = -1;
 #endif /* WITH_ZLIB */  
   options->port = -1;    options->port = -1;
   options->connection_attempts = -1;    options->connection_attempts = -1;
   options->cipher = -1;    options->cipher = -1;
Line 635 
Line 627 
     options->batch_mode = 0;      options->batch_mode = 0;
   if (options->strict_host_key_checking == -1)    if (options->strict_host_key_checking == -1)
     options->strict_host_key_checking = 2; /* 2 is default */      options->strict_host_key_checking = 2; /* 2 is default */
 #ifdef WITH_ZLIB  
   if (options->compression == -1)    if (options->compression == -1)
     options->compression = 0;      options->compression = 0;
 #endif /* WITH_ZLIB */  
   if (options->keepalives == -1)    if (options->keepalives == -1)
     options->keepalives = 1;      options->keepalives = 1;
 #ifdef WITH_ZLIB  
   if (options->compression_level == -1)    if (options->compression_level == -1)
     options->compression_level = 6;      options->compression_level = 6;
 #endif /* WITH_ZLIB */  
   if (options->port == -1)    if (options->port == -1)
     options->port = 0; /* Filled in ssh_connect. */      options->port = 0; /* Filled in ssh_connect. */
   if (options->connection_attempts == -1)    if (options->connection_attempts == -1)

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6