From: Aki Tuomi Date: Tue, 8 May 2018 16:59:40 +0000 (+0300) Subject: geoipbackend: Hide queryGeoIP X-Git-Tag: dnsdist-1.3.1~99^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22c10c43fe66ea8b6f287edff3f59e63688808bc;p=thirdparty%2Fpdns.git geoipbackend: Hide queryGeoIP --- diff --git a/modules/geoipbackend/geoipbackend.cc b/modules/geoipbackend/geoipbackend.cc index a955354f8f..3a7e1021c9 100644 --- a/modules/geoipbackend/geoipbackend.cc +++ b/modules/geoipbackend/geoipbackend.cc @@ -406,7 +406,7 @@ bool GeoIPBackend::get(DNSResourceRecord &r) { return true; } -string queryGeoIP(const string &ip, bool v6, GeoIPInterface::GeoIPQueryAttribute attribute, GeoIPNetmask& gl) { +static string queryGeoIP(const string &ip, bool v6, GeoIPInterface::GeoIPQueryAttribute attribute, GeoIPNetmask& gl) { string ret = "unknown"; for(auto const& gi: s_geoip_files) {