From: Joshua Colp Date: Wed, 7 Sep 2016 10:59:26 +0000 (+0000) Subject: res_resolver_unbound: Fix config documentation. X-Git-Tag: 14.1.0-rc1~69^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ec7d53983e27017bbee257cd1a368b8030f4dea;p=thirdparty%2Fasterisk.git 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 --- diff --git a/res/res_resolver_unbound.c b/res/res_resolver_unbound.c index 40f3cfe4bf..348e04f934 100644 --- a/res/res_resolver_unbound.c +++ b/res/res_resolver_unbound.c @@ -44,8 +44,8 @@ ASTERISK_REGISTER_FILE() /*** DOCUMENTATION - - Options that apply globally to res_resolver_unbound + + General options for res_resolver_unbound Full path to an optional hosts file 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$",