]> 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:43:44 +0000 (10:43 +0200)
(cherry picked from commit 1cd3516d5449326a9740d8a5cad99f493688e450)

lib/dns/stats.c

index 1c1b140ab44297c6d89ad08b669264e502611ffd..d27491e8faf88756b1ef1b4253e53f18c99b93bf 100644 (file)
@@ -74,10 +74,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 {
        /*% Unlocked */
        unsigned int    magic;