From 0ea74c4d1a848e14c80f37fc1bfdb08b69a7682b Mon Sep 17 00:00:00 2001 From: bert hubert Date: Sun, 25 Oct 2015 22:33:20 +0100 Subject: [PATCH] further place enum adjustments --- pdns/filterpo.cc | 2 +- pdns/pdns_recursor.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pdns/filterpo.cc b/pdns/filterpo.cc index 164f4f7fc..8d078a8b0 100644 --- a/pdns/filterpo.cc +++ b/pdns/filterpo.cc @@ -80,7 +80,7 @@ DNSFilterEngine::Policy DNSFilterEngine::getPostPolicy(const vector& ComboAddress ca; for(const auto& r : records) { - if(r.d_place != DNSRecord::Answer) + if(r.d_place != DNSResourceRecord::Answer) continue; if(r.d_type == QType::A) ca = std::dynamic_pointer_cast(r.d_content)->getCA(); diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index b68ceb9a2..fa1919b5f 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -638,7 +638,7 @@ void startDoResolve(void *p) spoofed.d_ttl = 1234; spoofed.d_class = 1; spoofed.d_content = dfepol.d_custom; - spoofed.d_place = DNSRecord::Answer; + spoofed.d_place = DNSResourceRecord::Answer; ret.push_back(spoofed); goto haveAnswer; @@ -697,7 +697,7 @@ void startDoResolve(void *p) spoofed.d_ttl = 1234; spoofed.d_class = 1; spoofed.d_content = dfepol.d_custom; - spoofed.d_place = DNSRecord::Answer; + spoofed.d_place = DNSResourceRecord::Answer; ret.push_back(spoofed); goto haveAnswer; } -- 2.40.0