#5 Wrong method call in geoip.pm

open
nobody
None
5
2005-06-24
2005-06-24
DrWatson
No

Hi,

I have found something strange in the
ShowInfoHost_geoip method: the second call to the GeoIP
API is using the country_code_by_addr instead of
country_code_by_name. This makes all the GeoIP results
of the Host Info area set to Unknown.

In my environment, the name resolution is directly made
by Apache2 and I have seen this kind of error for all
records except the ones based on IP addresses only
(when DNS resolution fails).

Let me know if you need further information with regard
to this problem.

DrWatson

Discussion