@@ -6,9 +6,8 @@ import (
)
func setupGeoIP() *geoip.GeoIP {
- file := "/opt/local/share/GeoIP/GeoIP.dat"
- gi := geoip.GeoIP_Open(file)
+ gi := geoip.Open()
if gi == nil {
log.Printf("Could not open GeoIP database\n")
return nil