]> granicus.if.org Git - pdns/commitdiff
next time, we'll actually compile before we push. Shit. Also, will we be on @CommitIs...
authorbert hubert <bert.hubert@netherlabs.nl>
Sun, 25 Oct 2015 21:35:43 +0000 (22:35 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Sun, 25 Oct 2015 21:35:43 +0000 (22:35 +0100)
pdns/filterpo.cc
pdns/pdns_recursor.cc

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