=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/servconf.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- src/usr.bin/ssh/servconf.c 1999/10/07 21:45:02 1.10 +++ src/usr.bin/ssh/servconf.c 1999/10/07 22:46:32 1.11 @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$Id: servconf.c,v 1.10 1999/10/07 21:45:02 markus Exp $"); +RCSID("$Id: servconf.c,v 1.11 1999/10/07 22:46:32 markus Exp $"); #include "ssh.h" #include "servconf.h" @@ -34,6 +34,7 @@ options->quiet_mode = -1; options->fascist_logging = -1; options->print_motd = -1; + options->check_mail = -1; options->x11_forwarding = -1; options->x11_display_offset = -1; options->strict_modes = -1; @@ -87,6 +88,8 @@ options->ignore_rhosts = 0; if (options->quiet_mode == -1) options->quiet_mode = 0; + if (options->check_mail == -1) + options->check_mail = 0; if (options->fascist_logging == -1) options->fascist_logging = 1; if (options->print_motd == -1) @@ -150,7 +153,7 @@ #endif sPasswordAuthentication, sAllowHosts, sDenyHosts, sListenAddress, sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset, - sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives + sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives, sCheckMail } ServerOpCodes; /* Textual representation of the tokens. */ @@ -186,6 +189,7 @@ { "skeyauthentication", sSkeyAuthentication }, #endif { "allowhosts", sAllowHosts }, + { "checkmail", sCheckMail }, { "denyhosts", sDenyHosts }, { "listenaddress", sListenAddress }, { "printmotd", sPrintMotd }, @@ -404,6 +408,10 @@ case sPasswordAuthentication: intptr = &options->password_authentication; goto parse_flag; + + case sCheckMail: + intptr = &options->check_mail; + goto parse_flag; #ifdef SKEY case sSkeyAuthentication: