Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2014 13:00:45 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263356 - head/usr.sbin/ctld
Message-ID:  <201403191300.s2JD0jhX039801@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403191300.s2JD0jhX039801>