]> granicus.if.org Git - pdns/commitdiff
further place enum adjustments
authorbert hubert <bert.hubert@netherlabs.nl>
Sun, 25 Oct 2015 21:33:20 +0000 (22:33 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Sun, 25 Oct 2015 21:33:20 +0000 (22:33 +0100)
pdns/filterpo.cc
pdns/pdns_recursor.cc

index 164f4f7fc0f5c58ef81d2806162bd83f44136509..8d078a8b0ac4b5250b1a70063008b241b13adc0e 100644 (file)
@@ -80,7 +80,7 @@ DNSFilterEngine::Policy DNSFilterEngine::getPostPolicy(const vector<DNSRecord>&
   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<ARecordContent>(r.d_content)->getCA();
index b68ceb9a2b91e08786c20569455975510878dc78..fa1919b5f1b612faf4017e028959c9f507945917 100644 (file)
@@ -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;
       }