summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/systems.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-12-17 21:21:42 +0000
committerbrian <brian@FreeBSD.org>1997-12-17 21:21:42 +0000
commit4f380fde8de0efa16879edc20885396f3a7433e9 (patch)
tree75bee766c2f794c4dfdb16a36d8b643619bbdf27 /usr.sbin/ppp/systems.c
parentd1353afc41592528ea3bce8cb01b6bc1b278a751 (diff)
downloadFreeBSD-src-4f380fde8de0efa16879edc20885396f3a7433e9.zip
FreeBSD-src-4f380fde8de0efa16879edc20885396f3a7433e9.tar.gz
o Log ******** instead of the actual password for "set authkey"
when command logging is switched on. o Display ******** for the authkey for "show auth" o Document how \P should be used, and document the other chat escapes while I'm there. o Make sure the full command is displayed when a compound command fails - ie, "set novar rubbish" should say "set novar: Invalid command" rather than "novar: Invalid command" Problem pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org> (among others)
Diffstat (limited to 'usr.sbin/ppp/systems.c')
-rw-r--r--usr.sbin/ppp/systems.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/systems.c b/usr.sbin/ppp/systems.c
index 7fe81b3..5673add 100644
--- a/usr.sbin/ppp/systems.c
+++ b/usr.sbin/ppp/systems.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: systems.c,v 1.28 1997/11/22 03:37:51 brian Exp $
+ * $Id: systems.c,v 1.29 1997/12/15 20:21:47 brian Exp $
*
* TODO:
*/
@@ -217,7 +217,7 @@ AllowModes(struct cmdargs const *arg)
break;
}
if (modes[m].mode == 0)
- LogPrintf(LogWARN, "%s: Invalid mode\n", arg->argv[f]);
+ LogPrintf(LogWARN, "allow modes: %s: Invalid mode\n", arg->argv[f]);
}
modeok = (mode | allowed) == allowed ? 1 : 0;
@@ -353,7 +353,7 @@ LoadCommand(struct cmdargs const *arg)
LogPrintf(LogERROR, "%s: Label not allowed\n", name);
return 1;
} else if (SelectSystem(name, CONFFILE) < 0) {
- LogPrintf(LogWARN, "%s: not found.\n", name);
+ LogPrintf(LogWARN, "%s: label not found.\n", name);
return -1;
} else
SetLabel(arg->argc ? name : NULL);
OpenPOWER on IntegriCloud