]> granicus.if.org Git - pdns/commitdiff
make AAAA work with the new dnsparser
authorBert Hubert <bert.hubert@netherlabs.nl>
Sun, 13 Feb 2005 15:37:45 +0000 (15:37 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Sun, 13 Feb 2005 15:37:45 +0000 (15:37 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@313 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/dnsrecords.cc

index 1db70b0cafbe8ea522ebbac09af6b732eafcbc38..075a11256de49e03fe51b0b416c96cbe3219d041 100644 (file)
@@ -48,7 +48,7 @@ class AAAARecordContent : public DNSRecordContent
 public:
   static void report(void)
   {
-    typemap[make_pair(1,ns_t_aaaa)]=&make;
+    regist(1,ns_t_aaaa,&make,"AAAA");
   }
 
   static DNSRecordContent* make(const DNSRecord &dr, PacketReader& pr)