From: Aki Tuomi Date: Tue, 22 Dec 2015 16:13:17 +0000 (+0200) Subject: Fully initialize Policy X-Git-Tag: dnsdist-1.0.0-alpha2~88^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3aff7d71dcccf8e93adb2722caa2502e6699239;p=pdns Fully initialize Policy --- diff --git a/pdns/filterpo.cc b/pdns/filterpo.cc index c50f7e55c..b38426cb5 100644 --- a/pdns/filterpo.cc +++ b/pdns/filterpo.cc @@ -42,7 +42,7 @@ bool findNamedPolicy(const map& polmap, const DNSFilterEngine::Policy DNSFilterEngine::getProcessingPolicy(const DNSName& qname) const { // cout<<"Got question for nameserver name "<& return fnd->second; } } - return Policy{PolicyKind::NoAction}; + return Policy{PolicyKind::NoAction, nullptr, 0}; } void DNSFilterEngine::assureZones(int zone)