mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-21 04:03:28 +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
|
||||
<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$",
|
||||
|
Reference in New Issue
Block a user