]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Move dnssec_keyid_max out rrsettype counters enum
authorMatthijs Mekking <matthijs@isc.org>
Wed, 7 Aug 2019 13:11:57 +0000 (15:11 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Mon, 12 Aug 2019 08:16:08 +0000 (10:16 +0200)
lib/dns/stats.c

index ce7b6fffd6ccda22b789e29c3f14301bad978bfd..11d30e90eb867810dece6f305f4a59b3be404a31 100644 (file)
@@ -73,10 +73,11 @@ enum {
        rdtypecounter_ancient_nxdomain = rdtypenxcounter_ancient_max,
        /* limit of number counter types */
        rdatasettypecounter_max = rdtypecounter_ancient_nxdomain + 1,
-       /* dnssec maximum key id */
-       dnssec_keyid_max = 65535
 };
 
+/* dnssec maximum key id */
+static int dnssec_keyid_max = 65535;
+
 struct dns_stats {
        unsigned int    magic;
        dns_statstype_t type;