From: Otto Moerbeek Date: Fri, 14 Feb 2020 14:15:50 +0000 (+0100) Subject: Adapt to somewhat older NetmaskTree X-Git-Tag: rec-4.3.0-rc2~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39ecf2b86850f3e273e4c595d989d5aa75e8f314;p=thirdparty%2Fpdns.git Adapt to somewhat older NetmaskTree --- diff --git a/pdns/filterpo.hh b/pdns/filterpo.hh index 612aeb26ee..2498ba7e49 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: