]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
remove priority in geo backend 1680/head
authorKees Monshouwer <mind04@monshouwer.org>
Fri, 10 Oct 2014 22:00:07 +0000 (00:00 +0200)
committermind04 <mind04@monshouwer.org>
Tue, 14 Oct 2014 22:38:56 +0000 (00:38 +0200)
modules/geobackend/geobackend.cc

index e8cb8444b6eb1b45d96ce5eb8817171536153e3e..15550247ab6a7aadfe15ba20d16c9d2e9d164c33 100644 (file)
@@ -138,7 +138,6 @@ bool GeoBackend::get(DNSResourceRecord &r) {
                r.qtype = ir->qtype;
                r.qname = ir->qname;
                r.content = ir->content;
-               r.priority = ir->priority;
                r.ttl = ir->ttl;
                r.domain_id = ir->domain_id;
                r.last_modified = ir->last_modified;
@@ -224,7 +223,6 @@ void GeoBackend::answerLocalhostRecord(const string &qdomain, DNSPacket *p) {
         rr->qtype = QType::A;
         rr->qname = qdomain;
         rr->content = target.str();
-        rr->priority = 0;
         rr->ttl = geoTTL;
         rr->domain_id = 1;
         rr->last_modified = 0;
@@ -240,7 +238,6 @@ void GeoBackend::queueNSRecords(const string &qname) {
                rr->qtype = QType::NS;
                rr->qname = qname;
                rr->content = *i;
-               rr->priority = 0;
                rr->ttl = nsTTL;
                rr->domain_id = 1;
                rr->last_modified = 0;
@@ -263,7 +260,6 @@ void GeoBackend::fillGeoResourceRecord(const string &qdomain, const string &targ
         rr->qtype = QType::CNAME;
         rr->qname = qdomain;
         rr->content = target;
-        rr->priority = 0;
         rr->ttl = geoTTL;
         rr->domain_id = 1;
         rr->last_modified = 0;