From: Otto Moerbeek Date: Fri, 14 Feb 2020 12:46:21 +0000 (+0100) Subject: Rebased to handle NetmaskTree changes X-Git-Tag: auth-4.3.0-beta2~11^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8823%2Fhead;p=thirdparty%2Fpdns.git Rebased to handle NetmaskTree changes --- 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: