mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-21 20:40:10 +00:00
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
This commit is contained in:
@@ -44,8 +44,8 @@ ASTERISK_REGISTER_FILE()
|
|||||||
/*** DOCUMENTATION
|
/*** DOCUMENTATION
|
||||||
<configInfo name="res_resolver_unbound" language="en_US">
|
<configInfo name="res_resolver_unbound" language="en_US">
|
||||||
<configFile name="resolver_unbound.conf">
|
<configFile name="resolver_unbound.conf">
|
||||||
<configObject name="globals">
|
<configObject name="general">
|
||||||
<synopsis>Options that apply globally to res_resolver_unbound</synopsis>
|
<synopsis>General options for res_resolver_unbound</synopsis>
|
||||||
<configOption name="hosts">
|
<configOption name="hosts">
|
||||||
<synopsis>Full path to an optional hosts file</synopsis>
|
<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
|
<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 */
|
/*! \brief An aco_type structure to link the "general" category to the unbound_global_config type */
|
||||||
static struct aco_type global_option = {
|
static struct aco_type global_option = {
|
||||||
.type = ACO_GLOBAL,
|
.type = ACO_GLOBAL,
|
||||||
.name = "globals",
|
.name = "general",
|
||||||
.item_offset = offsetof(struct unbound_config, global),
|
.item_offset = offsetof(struct unbound_config, global),
|
||||||
.category_match = ACO_WHITELIST,
|
.category_match = ACO_WHITELIST,
|
||||||
.category = "^general$",
|
.category = "^general$",
|
||||||
|
Reference in New Issue
Block a user