aboutsummaryrefslogtreecommitdiffstats
path: root/main/dnsmgr.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-26 18:39:06 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-26 18:39:06 +0000
commitf0d1cef621b6279261a351a1c06caccd6fe9e85a (patch)
treee3b98ea87c1f245716b009b4b7173c660297f04e /main/dnsmgr.c
parent48c13bd6a34d681877f05c8bb7ed1ec47360f56e (diff)
Add the "config reload <conffile>" command, which allows you to tell Asterisk
to reload any file that references a given configuration file. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111012 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/dnsmgr.c')
-rw-r--r--main/dnsmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dnsmgr.c b/main/dnsmgr.c
index 0989f6315..a25832850 100644
--- a/main/dnsmgr.c
+++ b/main/dnsmgr.c
@@ -360,7 +360,7 @@ static int do_reload(int loading)
int was_enabled;
int res = -1;
- if ((config = ast_config_load("dnsmgr.conf", config_flags)) == CONFIG_STATUS_FILEUNCHANGED)
+ if ((config = ast_config_load2("dnsmgr.conf", "dnsmgr", config_flags)) == CONFIG_STATUS_FILEUNCHANGED)
return 0;
/* ensure that no refresh cycles run while the reload is in progress */