[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.140 and 1.141

version 1.140, 2005/05/16 15:30:51 version 1.141, 2005/06/08 11:25:09
Line 794 
Line 794 
   
         case oControlMaster:          case oControlMaster:
                 intptr = &options->control_master;                  intptr = &options->control_master;
                 goto parse_yesnoask;                  arg = strdelim(&s);
                   if (!arg || *arg == '\0')
                           fatal("%.200s line %d: Missing ControlMaster argument.",
                               filename, linenum);
                   value = 0;      /* To avoid compiler warning... */
                   if (strcmp(arg, "yes") == 0 || strcmp(arg, "true") == 0)
                           value = SSHCTL_MASTER_YES;
                   else if (strcmp(arg, "no") == 0 || strcmp(arg, "false") == 0)
                           value = SSHCTL_MASTER_NO;
                   else if (strcmp(arg, "auto") == 0)
                           value = SSHCTL_MASTER_AUTO;
                   else if (strcmp(arg, "ask") == 0)
                           value = SSHCTL_MASTER_ASK;
                   else if (strcmp(arg, "autoask") == 0)
                           value = SSHCTL_MASTER_AUTO_ASK;
                   else
                           fatal("%.200s line %d: Bad ControlMaster argument.",
                               filename, linenum);
                   if (*activep && *intptr == -1)
                           *intptr = value;
                   break;
   
         case oHashKnownHosts:          case oHashKnownHosts:
                 intptr = &options->hash_known_hosts;                  intptr = &options->hash_known_hosts;

Legend:
Removed from v.1.140  
changed lines
  Added in v.1.141