summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-11-18 18:17:25 +0000
committerbrian <brian@FreeBSD.org>1997-11-18 18:17:25 +0000
commit33e6e5016cc0485666a82e2ce67f4d046742d906 (patch)
tree831dc927a53503a89f999eeb3c05dd4a8db6be28
parentc5e51f2d51d28e1943b6d3916bf5c156f751ecf9 (diff)
downloadFreeBSD-src-33e6e5016cc0485666a82e2ce67f4d046742d906.zip
FreeBSD-src-33e6e5016cc0485666a82e2ce67f4d046742d906.tar.gz
Fix interactive mode so that it doesn't require a passwd (again!).
-rw-r--r--usr.sbin/ppp/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index 11c6df0..f9bbebc 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -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");
OpenPOWER on IntegriCloud