[asterisk-commits] gtjoseph: branch 13 r427228 - in /branches/13: ./ main/config.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Nov 4 14:48:22 CST 2014
Author: gtjoseph
Date: Tue Nov 4 14:48:18 2014
New Revision: 427228
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=427228
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/
........
Merged revisions 427227 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
branches/13/ (props changed)
branches/13/main/config.c
Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: branches/13/main/config.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/main/config.c?view=diff&rev=427228&r1=427227&r2=427228
==============================================================================
--- branches/13/main/config.c (original)
+++ branches/13/main/config.c Tue Nov 4 14:48:18 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