]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
alphabetize server_clauses
authorMark Andrews <marka@isc.org>
Tue, 22 Jul 2014 04:00:27 +0000 (14:00 +1000)
committerMark Andrews <marka@isc.org>
Tue, 22 Jul 2014 04:00:57 +0000 (14:00 +1000)
(cherry picked from commit 0e50e5020667001585f29ef607e9874a2a1d43a7)

lib/isccfg/namedconf.c

index 911612f13b0bde55fcf7d3c573180e6121b82629..cc9f3a9b9f12d0bc071caff07532d59621a12183 100644 (file)
@@ -1832,27 +1832,27 @@ static cfg_type_t cfg_type_key = {
 static cfg_clausedef_t
 server_clauses[] = {
        { "bogus", &cfg_type_boolean, 0 },
+       { "edns", &cfg_type_boolean, 0 },
+       { "edns-udp-size", &cfg_type_uint32, 0 },
+       { "keys", &cfg_type_server_key_kludge, 0 },
+       { "max-udp-size", &cfg_type_uint32, 0 },
+       { "notify-source", &cfg_type_sockaddr4wild, 0 },
+       { "notify-source-v6", &cfg_type_sockaddr6wild, 0 },
        { "provide-ixfr", &cfg_type_boolean, 0 },
+       { "query-source", &cfg_type_querysource4, 0 },
+       { "query-source-v6", &cfg_type_querysource6, 0 },
        { "request-ixfr", &cfg_type_boolean, 0 },
-       { "support-ixfr", &cfg_type_boolean, CFG_CLAUSEFLAG_OBSOLETE },
+       { "request-nsid", &cfg_type_boolean, 0 },
 #ifdef ISC_PLATFORM_USESIT
        { "request-sit", &cfg_type_boolean, 0 },
 #else
        { "request-sit", &cfg_type_boolean, CFG_CLAUSEFLAG_NOTCONFIGURED },
 #endif
-       { "request-nsid", &cfg_type_boolean, 0 },
-       { "transfers", &cfg_type_uint32, 0 },
+       { "support-ixfr", &cfg_type_boolean, CFG_CLAUSEFLAG_OBSOLETE },
        { "transfer-format", &cfg_type_transferformat, 0 },
-       { "keys", &cfg_type_server_key_kludge, 0 },
-       { "edns", &cfg_type_boolean, 0 },
-       { "edns-udp-size", &cfg_type_uint32, 0 },
-       { "max-udp-size", &cfg_type_uint32, 0 },
-       { "notify-source", &cfg_type_sockaddr4wild, 0 },
-       { "notify-source-v6", &cfg_type_sockaddr6wild, 0 },
-       { "query-source", &cfg_type_querysource4, 0 },
-       { "query-source-v6", &cfg_type_querysource6, 0 },
        { "transfer-source", &cfg_type_sockaddr4wild, 0 },
        { "transfer-source-v6", &cfg_type_sockaddr6wild, 0 },
+       { "transfers", &cfg_type_uint32, 0 },
        { NULL, NULL, 0 }
 };
 static cfg_clausedef_t *