From: Bert Hubert Date: Tue, 11 Jan 2011 09:29:42 +0000 (+0000) Subject: oops - previous commit was uncompiled & thus broken X-Git-Tag: auth-3.0~383 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6966476c51897b383fb1db9633e18b96a87a3562;p=pdns oops - previous commit was uncompiled & thus broken git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1864 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/backends/bind/bindbackend2.cc b/pdns/backends/bind/bindbackend2.cc index 53b23c0d0..4bd0f4d59 100644 --- a/pdns/backends/bind/bindbackend2.cc +++ b/pdns/backends/bind/bindbackend2.cc @@ -1049,7 +1049,7 @@ bool Bind2Backend::handle::get_normal(DNSResourceRecord &r) r.ttl=(d_iter)->ttl; r.priority=(d_iter)->priority; - if(!d_iter->auth && r.qtype != QType::A && r.qtype!=QType::AAAA && r.qtype != QType::NS) + if(!d_iter->auth && r.qtype.getCode() != QType::A && r.qtype.getCode()!=QType::AAAA && r.qtype.getCode() != QType::NS) cerr<<"Warning! Unauth response!"<auth;