[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.362 and 1.363

version 1.362, 2020/04/17 03:23:13 version 1.363, 2020/04/17 03:30:05
Line 1152 
Line 1152 
         { "no",                         0 },          { "no",                         0 },
         { NULL, -1 }          { NULL, -1 }
 };  };
   static const struct multistate multistate_ignore_rhosts[] = {
           { "yes",                        IGNORE_RHOSTS_YES },
           { "no",                         IGNORE_RHOSTS_NO },
           { "shosts-only",                IGNORE_RHOSTS_SHOSTS },
           { NULL, -1 }
   };
 static const struct multistate multistate_addressfamily[] = {  static const struct multistate multistate_addressfamily[] = {
         { "inet",                       AF_INET },          { "inet",                       AF_INET },
         { "inet6",                      AF_INET6 },          { "inet6",                      AF_INET6 },
Line 1395 
Line 1401 
   
         case sIgnoreRhosts:          case sIgnoreRhosts:
                 intptr = &options->ignore_rhosts;                  intptr = &options->ignore_rhosts;
  parse_flag:                  multistate_ptr = multistate_ignore_rhosts;
                 multistate_ptr = multistate_flag;  
                 goto parse_multistate;                  goto parse_multistate;
   
         case sIgnoreUserKnownHosts:          case sIgnoreUserKnownHosts:
                 intptr = &options->ignore_user_known_hosts;                  intptr = &options->ignore_user_known_hosts;
                 goto parse_flag;   parse_flag:
                   multistate_ptr = multistate_flag;
                   goto parse_multistate;
   
         case sHostbasedAuthentication:          case sHostbasedAuthentication:
                 intptr = &options->hostbased_authentication;                  intptr = &options->hostbased_authentication;
Line 2561 
Line 2568 
                 return fmt_multistate_int(val, multistate_tcpfwd);                  return fmt_multistate_int(val, multistate_tcpfwd);
         case sAllowStreamLocalForwarding:          case sAllowStreamLocalForwarding:
                 return fmt_multistate_int(val, multistate_tcpfwd);                  return fmt_multistate_int(val, multistate_tcpfwd);
           case sIgnoreRhosts:
                   return fmt_multistate_int(val, multistate_ignore_rhosts);
         case sFingerprintHash:          case sFingerprintHash:
                 return ssh_digest_alg_name(val);                  return ssh_digest_alg_name(val);
         default:          default:

Legend:
Removed from v.1.362  
changed lines
  Added in v.1.363