From 95ed40ff9a47da91cd46c1fed16f60190cac48b3 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 31 Aug 2017 08:10:44 +1000 Subject: [PATCH] sort view_clauses --- bin/tests/system/checkconf/good.conf | 2 +- lib/isccfg/namedconf.c | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bin/tests/system/checkconf/good.conf b/bin/tests/system/checkconf/good.conf index 9b74657157..f11032b10b 100644 --- a/bin/tests/system/checkconf/good.conf +++ b/bin/tests/system/checkconf/good.conf @@ -61,8 +61,8 @@ options { serial-query-rate 100; server-id none; max-cache-size 20000000000000; - nta-recheck 604800; nta-lifetime 604800; + nta-recheck 604800; transfer-source 0.0.0.0 dscp 63; zone-statistics none; }; diff --git a/lib/isccfg/namedconf.c b/lib/isccfg/namedconf.c index 342cfb037f..6d36f48b25 100644 --- a/lib/isccfg/namedconf.c +++ b/lib/isccfg/namedconf.c @@ -1722,8 +1722,8 @@ view_clauses[] = { CFG_CLAUSEFLAG_MULTI }, { "disable-empty-zone", &cfg_type_astring, CFG_CLAUSEFLAG_MULTI }, { "dns64", &cfg_type_dns64, CFG_CLAUSEFLAG_MULTI }, - { "dns64-server", &cfg_type_astring, 0 }, { "dns64-contact", &cfg_type_astring, 0 }, + { "dns64-server", &cfg_type_astring, 0 }, { "dnssec-accept-expired", &cfg_type_boolean, 0 }, { "dnssec-enable", &cfg_type_boolean, 0 }, { "dnssec-lookaside", &cfg_type_lookaside, CFG_CLAUSEFLAG_MULTI }, @@ -1763,8 +1763,6 @@ view_clauses[] = { #else { "lmdb-mapsize", &cfg_type_sizeval, CFG_CLAUSEFLAG_NOOP }, #endif - { "nocookie-udp-size", &cfg_type_uint32, 0 }, - { "nosit-udp-size", &cfg_type_uint32, CFG_CLAUSEFLAG_OBSOLETE }, { "max-acache-size", &cfg_type_sizenodefault, 0 }, { "max-cache-size", &cfg_type_sizeorpercent, 0 }, { "max-cache-ttl", &cfg_type_uint32, 0 }, @@ -1773,16 +1771,18 @@ view_clauses[] = { { "max-recursion-depth", &cfg_type_uint32, 0 }, { "max-recursion-queries", &cfg_type_uint32, 0 }, { "max-udp-size", &cfg_type_uint32, 0 }, + { "message-compression", &cfg_type_boolean, 0 }, { "min-roots", &cfg_type_uint32, CFG_CLAUSEFLAG_NOTIMP }, { "minimal-any", &cfg_type_boolean, 0 }, { "minimal-responses", &cfg_type_minimal, 0 }, - { "nta-recheck", &cfg_type_ttlval, 0 }, - { "nta-lifetime", &cfg_type_ttlval, 0 }, - { "nxdomain-redirect", &cfg_type_astring, 0 }, - { "prefetch", &cfg_type_prefetch, 0 }, - { "preferred-glue", &cfg_type_astring, 0 }, { "no-case-compress", &cfg_type_bracketed_aml, 0 }, - { "message-compression", &cfg_type_boolean, 0 }, + { "nocookie-udp-size", &cfg_type_uint32, 0 }, + { "nosit-udp-size", &cfg_type_uint32, CFG_CLAUSEFLAG_OBSOLETE }, + { "nta-lifetime", &cfg_type_ttlval, 0 }, + { "nta-recheck", &cfg_type_ttlval, 0 }, + { "nxdomain-redirect", &cfg_type_astring, 0 }, + { "preferred-glue", &cfg_type_astring, 0 }, + { "prefetch", &cfg_type_prefetch, 0 }, { "provide-ixfr", &cfg_type_boolean, 0 }, /* * Note that the query-source option syntax is different