From: bert hubert Date: Sun, 4 Sep 2016 19:04:00 +0000 (+0200) Subject: init some DNSZoneRecord members X-Git-Tag: dnsdist-1.1.0-beta2~123^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fdee6fc7f623b05719978cad8706a9cc0ad48cc;p=thirdparty%2Fpdns.git init some DNSZoneRecord members --- diff --git a/pdns/dnsparser.hh b/pdns/dnsparser.hh index f0620ed3e2..a3b0771f44 100644 --- a/pdns/dnsparser.hh +++ b/pdns/dnsparser.hh @@ -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; };