[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.20 and 1.21

version 1.20, 1999/11/10 23:36:44 version 1.21, 1999/11/11 22:58:38
Line 31 
Line 31 
   options->key_regeneration_time = -1;    options->key_regeneration_time = -1;
   options->permit_root_login = -1;    options->permit_root_login = -1;
   options->ignore_rhosts = -1;    options->ignore_rhosts = -1;
     options->ignore_user_known_hosts = -1;
   options->print_motd = -1;    options->print_motd = -1;
   options->check_mail = -1;    options->check_mail = -1;
   options->x11_forwarding = -1;    options->x11_forwarding = -1;
Line 88 
Line 89 
     options->permit_root_login = 1;              /* yes */      options->permit_root_login = 1;              /* yes */
   if (options->ignore_rhosts == -1)    if (options->ignore_rhosts == -1)
     options->ignore_rhosts = 0;      options->ignore_rhosts = 0;
     if (options->ignore_user_known_hosts == -1)
       options->ignore_user_known_hosts = 0;
   if (options->check_mail == -1)    if (options->check_mail == -1)
     options->check_mail = 0;      options->check_mail = 0;
   if (options->print_motd == -1)    if (options->print_motd == -1)
Line 156 
Line 159 
   sPasswordAuthentication, sListenAddress,    sPasswordAuthentication, sListenAddress,
   sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset,    sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset,
   sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives, sCheckMail,    sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives, sCheckMail,
   sUseLogin, sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups    sUseLogin, sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups,
     sIgnoreUserKnownHosts
 } ServerOpCodes;  } ServerOpCodes;
   
 /* Textual representation of the tokens. */  /* Textual representation of the tokens. */
Line 195 
Line 198 
   { "listenaddress", sListenAddress },    { "listenaddress", sListenAddress },
   { "printmotd", sPrintMotd },    { "printmotd", sPrintMotd },
   { "ignorerhosts", sIgnoreRhosts },    { "ignorerhosts", sIgnoreRhosts },
     { "ignoreuserknownhosts", sIgnoreUserKnownHosts },
   { "x11forwarding", sX11Forwarding },    { "x11forwarding", sX11Forwarding },
   { "x11displayoffset", sX11DisplayOffset },    { "x11displayoffset", sX11DisplayOffset },
   { "strictmodes", sStrictModes },    { "strictmodes", sStrictModes },
Line 402 
Line 406 
           if (*intptr == -1)            if (*intptr == -1)
             *intptr = value;              *intptr = value;
           break;            break;
   
           case sIgnoreUserKnownHosts:
             intptr = &options->ignore_user_known_hosts;
             goto parse_int;
   
         case sRhostsAuthentication:          case sRhostsAuthentication:
           intptr = &options->rhosts_authentication;            intptr = &options->rhosts_authentication;
           goto parse_flag;            goto parse_flag;

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21