2012-06-23 15:53:46 +02:00
|
|
|
Index: epan/geoip_db.c
|
|
|
|
===================================================================
|
|
|
|
--- epan/geoip_db.c.orig 2012-06-05 17:33:40.000000000 +0100
|
|
|
|
+++ epan/geoip_db.c 2012-06-21 21:55:14.000000000 +0100
|
|
|
|
@@ -177,6 +177,9 @@ geoip_db_init(void) {
|
|
|
|
geoip_dat_scan_dir(geoip_db_paths[i].path);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
+ if (num_geoip_db_paths < 1) {
|
|
|
|
+ geoip_dat_scan_dir("/var/lib/GeoIP");
|
|
|
|
+ }
|
2009-06-20 04:08:32 +02:00
|
|
|
|
|
|
|
/* add fake databases for latitude and longitude (using "City" in reality) */
|
|
|
|
{
|