]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
When performing a reload, reload the new features_config and not the old
authorMatthew Jordan <mjordan@digium.com>
Mon, 29 Jul 2013 15:57:44 +0000 (15:57 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 29 Jul 2013 15:57:44 +0000 (15:57 +0000)
Performing a module reload of core components causes specific functions
compiled into the Asterisk binary to be reloaded. The table of said functions
was still pointing to the old features reload mechanism, and not the new one.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395672 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/loader.c

index 86735df52eea4f95c0c39eddf9e84a5012d73049..5cc4b715d790d3fd17de6800e11d7f7aec63ed19 100644 (file)
@@ -313,7 +313,7 @@ static struct reload_classes {
        { "manager",    reload_manager },
        { "http",       ast_http_reload },
        { "logger",     logger_reload },
-       { "features",   ast_features_reload },
+       { "features",   ast_features_config_reload },
        { "dsp",        ast_dsp_reload},
        { "udptl",      ast_udptl_reload },
        { "indications", ast_indications_reload },