summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/command.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-11-09 18:51:23 +0000
committerbrian <brian@FreeBSD.org>1997-11-09 18:51:23 +0000
commit1fb35097709343deb39e78c2a838bf9a64df4996 (patch)
tree5d2c8783b7b1f7eb9f5adb4a9560f5960cfe3eea /usr.sbin/ppp/command.c
parente1f7ff985c856b099d9dee943c37ce87a974f1de (diff)
downloadFreeBSD-src-1fb35097709343deb39e78c2a838bf9a64df4996.zip
FreeBSD-src-1fb35097709343deb39e78c2a838bf9a64df4996.tar.gz
Don't ask for a password if it's specified as empty.
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r--usr.sbin/ppp/command.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index da084a1..c4fbb26 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: command.c,v 1.92 1997/11/09 06:22:39 brian Exp $
+ * $Id: command.c,v 1.93 1997/11/09 17:51:24 brian Exp $
*
*/
#include <sys/param.h>
@@ -67,6 +67,7 @@
#include "ccp.h"
#include "ip.h"
#include "slcompress.h"
+#include "auth.h"
struct in_addr ifnetmask;
@@ -760,7 +761,7 @@ QuitCommand(struct cmdtab const * list, int argc, char **argv)
Cleanup(EX_NORMAL);
} else if (VarTerm) {
LogPrintf(LogPHASE, "Client connection closed.\n");
- VarLocalAuth = LOCAL_NO_AUTH;
+ LocalAuthInit();
mode &= ~MODE_INTER;
oVarTerm = VarTerm;
VarTerm = 0;
OpenPOWER on IntegriCloud