diff options
author | trasz <trasz@FreeBSD.org> | 2014-03-25 12:38:43 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2014-03-25 12:38:43 +0000 |
commit | 59337a66a6b93dc5458be9ef69a0fb5f6598f44c (patch) | |
tree | 045d0b323d57b4dfdbfa060c8296b303f2e6a139 | |
parent | 4a35e9f81440760668c42351cf5b2ef12a68ad19 (diff) | |
download | FreeBSD-src-59337a66a6b93dc5458be9ef69a0fb5f6598f44c.zip FreeBSD-src-59337a66a6b93dc5458be9ef69a0fb5f6598f44c.tar.gz |
MFC r263356:
Make the error message more clear.
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | usr.sbin/ctld/login.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ctld/login.c b/usr.sbin/ctld/login.c index ceabd92..c1a2393 100644 --- a/usr.sbin/ctld/login.c +++ b/usr.sbin/ctld/login.c @@ -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"); |