[Asterisk-code-review] acl: Update logger message to match 15+. (asterisk[13])

Corey Farrell asteriskteam at digium.com
Thu Nov 16 11:42:47 CST 2017


Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/7238


Change subject: acl: Update logger message to match 15+.
......................................................................

acl: Update logger message to match 15+.

This patch causes a logger message to be the same as it is in 15+.  This
will allow a follow-up patch to be cherry-picked to all 3 branches.

Change-Id: Ic0665a3d49987e4eb6df28dcd9e90b1c3ca191e0
---
M main/acl.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/38/7238/1

diff --git a/main/acl.c b/main/acl.c
index 94a242a..d4b3089 100644
--- a/main/acl.c
+++ b/main/acl.c
@@ -479,7 +479,7 @@
 		AST_LIST_TRAVERSE(working_list, current, list) {
 			if (!strcasecmp(current->name, tmp)) { /* ACL= */
 				/* Inclusion of the same ACL multiple times isn't a catastrophic error, but it will raise the error flag and skip the entry. */
-				ast_log(LOG_ERROR, "Named ACL '%s' is already included in the ast_acl container.", tmp);
+				ast_log(LOG_ERROR, "Named ACL '%s' occurs multiple times in ACL definition. Please update your ACL configuration.", tmp);
 				if (error) {
 					*error = 1;
 				}

-- 
To view, visit https://gerrit.asterisk.org/7238
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic0665a3d49987e4eb6df28dcd9e90b1c3ca191e0
Gerrit-Change-Number: 7238
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171116/9bf53b08/attachment.html>


More information about the asterisk-code-review mailing list