summaryrefslogtreecommitdiff
path: root/res/res_resolver_unbound.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-09-07 10:59:26 +0000
committerJoshua Colp <jcolp@digium.com>2016-09-07 06:01:44 -0500
commitbaa7dba1806b6f894fccc94bc63f83020ee2345c (patch)
tree797d4f1618acdd5531379896f32698e30b28cc69 /res/res_resolver_unbound.c
parente6cad17d6dd4e335632ec27478ccee40bb574cc3 (diff)
res_resolver_unbound: Fix config documentation.
The code was referencing the config section as 'globals' instead of 'general'. This change swaps it over to 'general'. Change-Id: I9dfe7788f41c4a6754c77e103880dc1a747de7fe
Diffstat (limited to 'res/res_resolver_unbound.c')
-rw-r--r--res/res_resolver_unbound.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/res_resolver_unbound.c b/res/res_resolver_unbound.c
index 40f3cfe4b..348e04f93 100644
--- a/res/res_resolver_unbound.c
+++ b/res/res_resolver_unbound.c
@@ -44,8 +44,8 @@ ASTERISK_REGISTER_FILE()
/*** DOCUMENTATION
<configInfo name="res_resolver_unbound" language="en_US">
<configFile name="resolver_unbound.conf">
- <configObject name="globals">
- <synopsis>Options that apply globally to res_resolver_unbound</synopsis>
+ <configObject name="general">
+ <synopsis>General options for res_resolver_unbound</synopsis>
<configOption name="hosts">
<synopsis>Full path to an optional hosts file</synopsis>
<description><para>Hosts specified in a hosts file will be resolved within the resolver itself. If a value
@@ -142,7 +142,7 @@ static void *unbound_config_alloc(void);
/*! \brief An aco_type structure to link the "general" category to the unbound_global_config type */
static struct aco_type global_option = {
.type = ACO_GLOBAL,
- .name = "globals",
+ .name = "general",
.item_offset = offsetof(struct unbound_config, global),
.category_match = ACO_WHITELIST,
.category = "^general$",