[asterisk-commits] gtjoseph: branch 12 r427227 - /branches/12/main/config.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Nov 4 14:47:37 CST 2014
Author: gtjoseph
Date: Tue Nov 4 14:47:30 2014
New Revision: 427227
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=427227
Log:
config: BUG: Restore ability for non-templ to be used as base objs in config.
My recent refactor of config.c accidentally removed the capability for an
object to inherit from a non-template object.
This patch restores the capability to inherit from both template and
non-template objects.
Tested-by: George Joseph
Reported-by: Scott Griepentrog
ASTERISK-24487 #close
Review: https://reviewboard.asterisk.org/r/4147/
Modified:
branches/12/main/config.c
Modified: branches/12/main/config.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/config.c?view=diff&rev=427227&r1=427226&r2=427227
==============================================================================
--- branches/12/main/config.c (original)
+++ branches/12/main/config.c Tue Nov 4 14:47:30 2014
@@ -1678,7 +1678,7 @@
} else {
struct ast_category *base;
- base = ast_category_get(cfg, cur, "TEMPLATES=restrict");
+ base = ast_category_get(cfg, cur, "TEMPLATES=include");
if (!base) {
ast_log(LOG_WARNING, "Inheritance requested, but category '%s' does not exist, line %d of %s\n", cur, lineno, configfile);
return -1;
More information about the asterisk-commits
mailing list