[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.165 and 1.166

version 1.165, 2008/01/19 23:09:49 version 1.166, 2008/06/11 21:01:35
Line 447 
Line 447 
   
         case oCheckHostIP:          case oCheckHostIP:
                 intptr = &options->check_host_ip;                  intptr = &options->check_host_ip;
                 goto parse_flag;                  arg = strdelim(&s);
                   if (!arg || *arg == '\0')
                           fatal("%.200s line %d: Missing CheckHostIP argument.",
                               filename, linenum);
                   value = 0;      /* To avoid compiler warning... */
                   if (strcmp(arg, "yes") == 0 || strcmp(arg, "true") == 0)
                           value = SSHCTL_CHECKHOSTIP_YES;
                   else if (strcmp(arg, "no") == 0 || strcmp(arg, "false") == 0)
                           value = SSHCTL_CHECKHOSTIP_NO;
                   else if (strcmp(arg, "fingerprint") == 0)
                           value = SSHCTL_CHECKHOSTIP_FPR;
                   else
                           fatal("%.200s line %d: Bad CheckHostIP argument.",
                               filename, linenum);
                   if (*activep && *intptr == -1)
                           *intptr = value;
                   break;
   
         case oVerifyHostKeyDNS:          case oVerifyHostKeyDNS:
                 intptr = &options->verify_host_key_dns;                  intptr = &options->verify_host_key_dns;

Legend:
Removed from v.1.165  
changed lines
  Added in v.1.166