]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
acl: Update logger message to match 15+.
authorCorey Farrell <git@cfware.com>
Thu, 16 Nov 2017 17:02:37 +0000 (12:02 -0500)
committerCorey Farrell <git@cfware.com>
Fri, 17 Nov 2017 14:34:25 +0000 (09:34 -0500)
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

main/acl.c

index 94a242af2c9a94ecbedd08707dea20c40b3d33ae..d4b308994044f9f11ef7cc162773e52dbd72582b 100644 (file)
@@ -479,7 +479,7 @@ void ast_append_acl(const char *sense, const char *stuff, struct ast_acl_list **
                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;
                                }