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

Diff for /src/usr.bin/ssh/servconf.c between version 1.142 and 1.143

version 1.142, 2005/06/17 02:44:33 version 1.143, 2005/07/25 11:59:40
Line 191 
Line 191 
         if (options->use_login == -1)          if (options->use_login == -1)
                 options->use_login = 0;                  options->use_login = 0;
         if (options->compression == -1)          if (options->compression == -1)
                 options->compression = 1;                  options->compression = COMP_DELAYED;
         if (options->allow_tcp_forwarding == -1)          if (options->allow_tcp_forwarding == -1)
                 options->allow_tcp_forwarding = 1;                  options->allow_tcp_forwarding = 1;
         if (options->gateway_ports == -1)          if (options->gateway_ports == -1)
Line 684 
Line 684 
   
         case sCompression:          case sCompression:
                 intptr = &options->compression;                  intptr = &options->compression;
                 goto parse_flag;                  arg = strdelim(&cp);
                   if (!arg || *arg == '\0')
                           fatal("%s line %d: missing yes/no/delayed "
                               "argument.", filename, linenum);
                   value = 0;      /* silence compiler */
                   if (strcmp(arg, "delayed") == 0)
                           value = COMP_DELAYED;
                   else if (strcmp(arg, "yes") == 0)
                           value = COMP_ZLIB;
                   else if (strcmp(arg, "no") == 0)
                           value = COMP_NONE;
                   else
                           fatal("%s line %d: Bad yes/no/delayed "
                               "argument: %s", filename, linenum, arg);
                   if (*intptr == -1)
                           *intptr = value;
                   break;
   
         case sGatewayPorts:          case sGatewayPorts:
                 intptr = &options->gateway_ports;                  intptr = &options->gateway_ports;

Legend:
Removed from v.1.142  
changed lines
  Added in v.1.143