]> granicus.if.org Git - pdns/commitdiff
make sure pipe backend for now gets the 'auth' field *mostly* right
authorBert Hubert <bert.hubert@netherlabs.nl>
Fri, 7 Jan 2011 23:13:49 +0000 (23:13 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Fri, 7 Jan 2011 23:13:49 +0000 (23:13 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1833 d19b8d6e-7fed-0310-83ef-9ca221ded41b

modules/pipebackend/pipebackend.cc

index a4d761d06231af63bf7f464493d8f59b2262de6d..d82a5d9eac48244a5735c420a1826055995c30f1 100644 (file)
@@ -219,6 +219,7 @@ bool PipeBackend::get(DNSResourceRecord &r)
          r.qtype=parts[3];
          r.ttl=atoi(parts[4].c_str());
          r.domain_id=atoi(parts[5].c_str());
+         r.auth = 1;
  
          if(parts[3]!="MX" && parts[3] != "SRV") {
            r.content.clear();