]> granicus.if.org Git - pdns/commitdiff
Initialize DNSResourceRecord members
authorAki Tuomi <cmouse@desteem.org>
Tue, 29 Sep 2015 18:49:13 +0000 (21:49 +0300)
committerAki Tuomi <cmouse@desteem.org>
Sat, 3 Oct 2015 22:01:12 +0000 (01:01 +0300)
fix cid#1030056

pdns/dns.hh

index e0e4cdabf1531d59402aa521cf587b872e81526b..66c7101d30cded26a6b6c5c96ad4fc8c1cbb8c45 100644 (file)
@@ -73,7 +73,7 @@ public:
 class DNSResourceRecord
 {
 public:
-  DNSResourceRecord() : last_modified(0), signttl(0), qclass(1), d_place(ANSWER), scopeMask(0), auth(1), disabled(0) {};
+  DNSResourceRecord() : last_modified(0), ttl(0), signttl(0), domain_id(-1), qclass(1), d_place(ANSWER), scopeMask(0), auth(1), disabled(0) {};
   explicit DNSResourceRecord(const struct DNSRecord&);
   ~DNSResourceRecord(){};