2014-08-14 00:18:19 +02:00
|
|
|
---
|
|
|
|
epan/geoip_db.c | 3 +++
|
|
|
|
1 file changed, 3 insertions(+)
|
|
|
|
|
|
|
|
Index: wireshark-1.12.0/epan/geoip_db.c
|
2012-06-23 15:53:46 +02:00
|
|
|
===================================================================
|
2014-08-14 00:18:19 +02:00
|
|
|
--- wireshark-1.12.0.orig/epan/geoip_db.c 2014-07-31 20:22:47.000000000 +0100
|
|
|
|
+++ wireshark-1.12.0/epan/geoip_db.c 2014-08-04 23:44:43.000000000 +0100
|
|
|
|
@@ -175,6 +175,9 @@ static void geoip_db_post_update_cb(void
|
2012-06-23 15:53:46 +02:00
|
|
|
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
|
|
|
|
2014-08-14 00:18:19 +02:00
|
|
|
/* add fake databases for latitude and longitude
|
|
|
|
* (using "City" in reality) */
|