From: Otto Moerbeek Date: Fri, 14 Feb 2020 12:46:21 +0000 (+0100) Subject: Rebased to handle NetmaskTree changes X-Git-Tag: rec-4.3.0-rc2~1^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7754deb38a9d22251de2464f2435cf62f2f9e2cd;p=thirdparty%2Fpdns.git Rebased to handle NetmaskTree changes (cherry picked from commit 9bb0af0351594875cc3a8648e0f523cc666989be) --- diff --git a/pdns/filterpo.hh b/pdns/filterpo.hh index 2498ba7e49..612aeb26ee 100644 --- a/pdns/filterpo.hh +++ b/pdns/filterpo.hh @@ -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: