[Asterisk-code-review] res resolver unbound: Fix config documentation. (asterisk[master])

Joshua Colp asteriskteam at digium.com
Wed Sep 7 06:01:44 CDT 2016


Joshua Colp has uploaded a new change for review.

  https://gerrit.asterisk.org/3839

Change subject: res_resolver_unbound: Fix config documentation.
......................................................................

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
---
M res/res_resolver_unbound.c
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/39/3839/1

diff --git a/res/res_resolver_unbound.c b/res/res_resolver_unbound.c
index 40f3cfe..348e04f 100644
--- a/res/res_resolver_unbound.c
+++ b/res/res_resolver_unbound.c
@@ -44,8 +44,8 @@
 /*** 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 @@
 /*! \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$",

-- 
To view, visit https://gerrit.asterisk.org/3839
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9dfe7788f41c4a6754c77e103880dc1a747de7fe
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Joshua Colp <jcolp at digium.com>



More information about the asterisk-code-review mailing list