From: Alex Rousskov Date: Fri, 23 Feb 2024 08:01:52 +0000 (+0000) Subject: Fix misleading Dns::CachedIps::restoreGoodness() debugging (#1692) X-Git-Tag: SQUID_7_0_1~200 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d5be7211d14bd0bef439d170641f95c26de5926;p=thirdparty%2Fsquid.git Fix misleading Dns::CachedIps::restoreGoodness() debugging (#1692) --- diff --git a/src/ipcache.cc b/src/ipcache.cc index 0e5b5d520d..05eba860c3 100644 --- a/src/ipcache.cc +++ b/src/ipcache.cc @@ -974,9 +974,10 @@ Dns::CachedIps::restoreGoodness(const char *name) for (auto &cachedIp: ips) cachedIp.forgetMarking(); badCount_ = 0; + debugs(14, 3, "cleared all " << size() << " bad IPs for " << name); + // fall through to reset goodPosition and report the current state } Must(seekNewGood(name)); - debugs(14, 3, "cleared all IPs for " << name << "; now back to " << *this); } bool