]> granicus.if.org Git - pdns/commitdiff
make sure geobackend sets auth=1, which should always be true
authorBert Hubert <bert.hubert@netherlabs.nl>
Mon, 10 Jan 2011 13:41:16 +0000 (13:41 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Mon, 10 Jan 2011 13:41:16 +0000 (13:41 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1856 d19b8d6e-7fed-0310-83ef-9ca221ded41b

modules/geobackend/geobackend.cc

index 106a8edd4c9139d103edf9728ce7722a78d704e4..912cbc795ae4610af246dab29df74aaf40032238 100644 (file)
@@ -142,6 +142,7 @@ bool GeoBackend::get(DNSResourceRecord &r) {
                r.ttl = ir->ttl;
                r.domain_id = ir->domain_id;
                r.last_modified = ir->last_modified;
+          r.auth = 1;
                                
                delete ir;
                i_answers++;