Date: Tue, 25 Mar 2014 12:38:43 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r263734 - stable/10/usr.sbin/ctld Message-ID: <201403251238.s2PCch3N081885@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Tue Mar 25 12:38:43 2014 New Revision: 263734 URL: http://svnweb.freebsd.org/changeset/base/263734 Log: MFC r263356: Make the error message more clear. Sponsored by: The FreeBSD Foundation Modified: stable/10/usr.sbin/ctld/login.c Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.sbin/ctld/login.c ============================================================================== --- stable/10/usr.sbin/ctld/login.c Tue Mar 25 12:33:16 2014 (r263733) +++ stable/10/usr.sbin/ctld/login.c Tue Mar 25 12:38:43 2014 (r263734) @@ -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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403251238.s2PCch3N081885>