diff --git a/html/cgi-bin/logs.cgi/showrequestfromcountry.dat b/html/cgi-bin/logs.cgi/showrequestfromcountry.dat index 275483075..2af0ec9dc 100644 --- a/html/cgi-bin/logs.cgi/showrequestfromcountry.dat +++ b/html/cgi-bin/logs.cgi/showrequestfromcountry.dat @@ -352,7 +352,7 @@ foreach $_ (@slice) if($iface eq $country || $srcaddr ne '') { my $ccode=''; if($iface ne $country) { - $ccode = &GeoIP::lookup($srcaddr); + $ccode = &GeoIP::lookup_country_code($libloc_db_handle, $srcaddr); } if($iface eq $country || $ccode eq uc($country)) { my $chain = '';