diff options
author | Joshua Colp <jcolp@digium.com> | 2017-12-18 14:41:55 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-12-18 14:41:55 -0600 |
commit | bac31e55bb85ace72cf27155e84e569f6d7f6ada (patch) | |
tree | 08ce0b22b12fd558f535c1dd4ab604ba7b5563b7 /res/res_resolver_unbound.c | |
parent | a853b3bcffb3eaa771cf6f52e6e2e8893a2c657e (diff) | |
parent | 957709e1e824e221254599e4ad8445e3839ce535 (diff) |
Merge changes from topic 'faster-aco' into 15
* changes:
aco: Minimize use of regex.
aco: Create ways to minimize use of regex.
Diffstat (limited to 'res/res_resolver_unbound.c')
-rw-r--r-- | res/res_resolver_unbound.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_resolver_unbound.c b/res/res_resolver_unbound.c index 3c7805010..25f61509a 100644 --- a/res/res_resolver_unbound.c +++ b/res/res_resolver_unbound.c @@ -142,8 +142,8 @@ static struct aco_type global_option = { .type = ACO_GLOBAL, .name = "general", .item_offset = offsetof(struct unbound_config, global), - .category_match = ACO_WHITELIST, - .category = "^general$", + .category_match = ACO_WHITELIST_EXACT, + .category = "general", }; static struct aco_type *global_options[] = ACO_TYPES(&global_option); |