From 7b3352b6e829460441c23bad863b4095de2aea57 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Sat, 11 Oct 2014 00:00:07 +0200 Subject: [PATCH] remove priority in geo backend --- modules/geobackend/geobackend.cc | 4 ---- 1 file changed, 4 deletions(-) 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; -- 2.47.2