]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Rebased to handle NetmaskTree changes 8823/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 14 Feb 2020 12:46:21 +0000 (13:46 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 14 Feb 2020 12:46:21 +0000 (13:46 +0100)
pdns/filterpo.hh

index 2498ba7e499e735c37c0a7eed8091b85aedb8279..612aeb26ee347fa514feaa9f2158fc8ebe486ac1 100644 (file)
@@ -209,14 +209,14 @@ public:
       for (auto& pair : d_propolName) {
         pair.second.d_priority = p;
       }
-      for (auto pair : d_qpolAddr) {
-        pair->second.d_priority = p;
+      for (auto& pair : d_qpolAddr) {
+        pair.second.d_priority = p;
       }
-      for (auto pair : d_propolNSAddr) {
-        pair->second.d_priority = p;
+      for (auto& pair : d_propolNSAddr) {
+        pair.second.d_priority = p;
       }
-      for (auto pair : d_postpolAddr) {
-        pair->second.d_priority = p;
+      for (auto& pair : d_postpolAddr) {
+        pair.second.d_priority = p;
       }
     }
   private: