]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/logs.cgi/showrequestfromcountry.dat
logs.cgi/showrequrestfromcountry.dat: Use new location lookup method.
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / logs.cgi / showrequestfromcountry.dat
index 2754830752a5dcbe084c0c29ebc0814338f45462..2af0ec9dcc73eccf58ed77a587089f2c618dc874 100644 (file)
@@ -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 = '';