From 589ad24b66a7b0c4139b8fa9a8aaf170ffed5512 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Sun, 25 Oct 2015 22:35:43 +0100 Subject: [PATCH] next time, we'll actually compile before we push. Shit. Also, will we be on @CommitIssues ? --- 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 8d078a8b0..3c96b9886 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 != DNSResourceRecord::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 fa1919b5f..236b90bb6 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 = DNSResourceRecord::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 = DNSResourceRecord::Answer; + spoofed.d_place = DNSResourceRecord::ANSWER; ret.push_back(spoofed); goto haveAnswer; } -- 2.40.0