2011-11-04 23:54:00 +01:00
|
|
|
--- epan/geoip_db.c.orig 2011-11-03 03:52:16.118977107 -0400
|
|
|
|
+++ epan/geoip_db.c 2011-11-03 03:56:23.711016549 -0400
|
|
|
|
@@ -165,6 +165,9 @@
|
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) */
|
|
|
|
{
|