2010-02-01 14:32:49 +01:00
|
|
|
Index: epan/geoip_db.c
|
|
|
|
===================================================================
|
|
|
|
--- epan/geoip_db.c.orig
|
2009-06-20 04:08:32 +02:00
|
|
|
+++ epan/geoip_db.c
|
2010-02-01 14:32:49 +01:00
|
|
|
@@ -160,6 +160,9 @@ geoip_db_init(void) {
|
2009-06-20 04:08:32 +02:00
|
|
|
geoip_dat_scan_dir(geoip_db_paths[i].path);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
+ if (num_geoip_db_paths < 1) {
|
|
|
|
+ geoip_dat_scan_dir("/var/lib/GeoIP");
|
|
|
|
+ }
|
|
|
|
|
|
|
|
/* add fake databases for latitude and longitude (using "City" in reality) */
|
|
|
|
{
|