svn commit: r263356 - head/usr.sbin/ctld
Edward Tomasz Napierala
trasz at FreeBSD.org
Wed Mar 19 13:00:45 UTC 2014
Author: trasz
Date: Wed Mar 19 13:00:44 2014
New Revision: 263356
URL: http://svnweb.freebsd.org/changeset/base/263356
Log:
Make the error message more clear.
Sponsored by: The FreeBSD Foundation
Modified:
head/usr.sbin/ctld/login.c
Modified: head/usr.sbin/ctld/login.c
==============================================================================
--- head/usr.sbin/ctld/login.c Wed Mar 19 12:57:13 2014 (r263355)
+++ head/usr.sbin/ctld/login.c Wed Mar 19 13:00:44 2014 (r263356)
@@ -1032,7 +1032,7 @@ login(struct connection *conn)
if (ag->ag_type == AG_TYPE_DENY) {
login_send_error(request, 0x02, 0x01);
- log_errx(1, "auth-group type is \"deny\"");
+ log_errx(1, "auth-type is \"deny\"");
}
if (ag->ag_type == AG_TYPE_UNKNOWN) {
@@ -1040,7 +1040,7 @@ login(struct connection *conn)
* This can happen with empty auth-group.
*/
login_send_error(request, 0x02, 0x01);
- log_errx(1, "auth-group type not set, denying access");
+ log_errx(1, "auth-type not set, denying access");
}
log_debugx("CHAP authentication required");
More information about the svn-src-all
mailing list