From: Kees Monshouwer Date: Fri, 10 Oct 2014 22:00:07 +0000 (+0200) Subject: remove priority in geo backend X-Git-Tag: rec-3.7.0-rc1~189^2~5^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1680%2Fhead;p=thirdparty%2Fpdns.git remove priority in geo backend --- diff --git a/modules/geobackend/geobackend.cc b/modules/geobackend/geobackend.cc index e8cb8444b6..15550247ab 100644 --- a/modules/geobackend/geobackend.cc +++ b/modules/geobackend/geobackend.cc @@ -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;