Fix interactive mode so that it doesn't require a passwd (again!).

This commit is contained in:
Brian Somers 1997-11-18 18:17:25 +00:00
parent 517c5ddbd3
commit 082798e7bd

View File

@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* $Id: main.c,v 1.102 1997/11/18 00:19:34 brian Exp $
* $Id: main.c,v 1.103 1997/11/18 07:33:23 brian Exp $
*
* TODO:
* o Add commands for traffic summary, version display, etc.
@ -396,6 +396,9 @@ main(int argc, char **argv)
Greetings();
IpcpDefAddress();
if (mode & MODE_INTER)
VarLocalAuth = LOCAL_AUTH;
if (SelectSystem("default", CONFFILE) < 0 && VarTerm)
fprintf(VarTerm, "Warning: No default entry is given in config file.\n");