forked from pool/wireshark
Andreas Stieger
1547428a2a
Wireshark 1.12.0 OBS-URL: https://build.opensuse.org/request/show/244625 OBS-URL: https://build.opensuse.org/package/show/network:utilities/wireshark?expand=0&rev=118
19 lines
643 B
Diff
19 lines
643 B
Diff
---
|
|
epan/geoip_db.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
Index: wireshark-1.12.0/epan/geoip_db.c
|
|
===================================================================
|
|
--- 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
|
|
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) */
|