]> granicus.if.org Git - pdns/commitdiff
James Cloos was the first to submit a patch with the IANA assigned code for TLSA!
authorBert Hubert <bert.hubert@netherlabs.nl>
Sat, 14 Apr 2012 09:06:03 +0000 (09:06 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Sat, 14 Apr 2012 09:06:03 +0000 (09:06 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2567 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/dnsrecords.cc
pdns/qtype.cc
pdns/qtype.hh

index bc2d0ba3cc4b2c46b6059c14e6a304a05d554d39..748672a1f887c306d7d3dfad748cd2e051b47934 100644 (file)
@@ -223,7 +223,7 @@ boilerplate_conv(CERT, 37,
                 conv.xfrBlob(d_certificate);
                 )
                 
-boilerplate_conv(TLSA, 65468
+boilerplate_conv(TLSA, 52
                 conv.xfr8BitInt(d_certusage); 
                 conv.xfr8BitInt(d_selector); 
                 conv.xfr8BitInt(d_matchtype); 
index b5b3087308f98d5fa6e26d2e4200749090aed031..8a40e4054b1fa76edae7a310ecac7893f773a94f 100644 (file)
@@ -66,6 +66,7 @@ QType::QType()
       insert("DNSKEY", 48);
       insert("NSEC3", 50);
       insert("NSEC3PARAM", 51);
+      insert("TLSA",52);
       insert("SPF",99);
       insert("IXFR",251);
       insert("AXFR",252);
@@ -75,7 +76,6 @@ QType::QType()
       insert("CURL",258);
       insert("ADDR",259);
       insert("DLV",32769);
-      insert("TLSA",65468);
     }
 }
 
index 85b6cf67667fec4798aade0375f32c0619e24064..b596ce1880544208ca5fffcc47fd4c0b2e682421 100644 (file)
@@ -79,7 +79,7 @@ public:
 #undef DS   
   enum typeenum {A=1,NS=2,CNAME=5,SOA=6, MR=9, PTR=12,HINFO=13,MX=15,TXT=16,RP=17,AFSDB=18,KEY=25,AAAA=28,LOC=29,SRV=33,NAPTR=35, KX=36, 
                 CERT=37,OPT=41, DS=43, SSHFP=44, IPSECKEY=45, RRSIG=46, NSEC=47, DNSKEY=48, DHCID=49, NSEC3=50, NSEC3PARAM=51,
-                SPF=99, TSIG=250, AXFR=252, IXFR=251, ANY=255, URL=256, MBOXFW=257, CURL=258, ADDR=259, DLV=32769} types;
+                TLSA=52, SPF=99, TSIG=250, AXFR=252, IXFR=251, ANY=255, URL=256, MBOXFW=257, CURL=258, ADDR=259, DLV=32769} types;
   typedef pair<string,uint16_t> namenum; 
   static vector<namenum> names;
 private: