]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
init some DNSZoneRecord members
authorbert hubert <bert.hubert@netherlabs.nl>
Sun, 4 Sep 2016 19:04:00 +0000 (21:04 +0200)
committerbert hubert <bert.hubert@powerdns.com>
Tue, 13 Sep 2016 10:53:30 +0000 (12:53 +0200)
pdns/dnsparser.hh

index f0620ed3e29cd11b4adae7b99325c5b1010021b2..a3b0771f4474d752336857d2fa23f787479f4eca 100644 (file)
@@ -330,11 +330,11 @@ struct DNSRecord
 
 struct DNSZoneRecord
 {
-  int domain_id;
-  uint8_t scopeMask;
-  int signttl;
+  int domain_id{-1};
+  uint8_t scopeMask{0};
+  int signttl{0};
   DNSName wildcardname;
-  bool auth;
+  bool auth{true};
   DNSRecord dr;
 };