[asterisk-commits] res resolver unbound: Fix config documentation. (asterisk[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 7 15:44:05 CDT 2016


Anonymous Coward #1000019 has submitted this change and it was merged.

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(-)

Approvals:
  George Joseph: Looks good to me, approved
  Anonymous Coward #1000019: Verified



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: merged
Gerrit-Change-Id: I9dfe7788f41c4a6754c77e103880dc1a747de7fe
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>



More information about the asterisk-commits mailing list