From 336d1e0eb477a1d19fae9dbd6724921b913d3136 Mon Sep 17 00:00:00 2001 From: tobi o Date: Mon, 3 Mar 2025 09:34:22 -0800 Subject: [PATCH] Update geo_config.h --- components/security_apps/http_geo_filter/geo_config.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/security_apps/http_geo_filter/geo_config.h b/components/security_apps/http_geo_filter/geo_config.h index 2a47fc4..0c21476 100644 --- a/components/security_apps/http_geo_filter/geo_config.h +++ b/components/security_apps/http_geo_filter/geo_config.h @@ -57,11 +57,11 @@ public: dbgTrace(D_GEO_FILTER) << "Check if country code: " << _country_code << " is allowed"; for (const GeoFilterCountry &country : allowed_countries) { if (country.getCountryCode() == _country_code) { - dbgTrace(D_GEO_FILTER) << "County code: " << _country_code << " is allowed"; + dbgTrace(D_GEO_FILTER) << "Country code: " << _country_code << " is allowed"; return true; } } - dbgTrace(D_GEO_FILTER) << "County code: " << _country_code << " not in allowed countries list"; + dbgTrace(D_GEO_FILTER) << "Country code: " << _country_code << " not in allowed countries list"; return false; } @@ -71,11 +71,11 @@ public: dbgTrace(D_GEO_FILTER) << "Check if country code: " << _country_code << " is blocked"; for (const GeoFilterCountry &country : blocked_countries) { if (country.getCountryCode() == _country_code) { - dbgTrace(D_GEO_FILTER) << "County code: " << _country_code << " is blocked"; + dbgTrace(D_GEO_FILTER) << "Country code: " << _country_code << " is blocked"; return true; } } - dbgTrace(D_GEO_FILTER) << "County code: " << _country_code << " not in blocked countries list"; + dbgTrace(D_GEO_FILTER) << "Country code: " << _country_code << " not in blocked countries list"; return false; }