forked from pool/wireshark
01e5bbf269
OBS-URL: https://build.opensuse.org/package/show/network:utilities/wireshark?expand=0&rev=17
15 lines
404 B
Diff
15 lines
404 B
Diff
Index: epan/geoip_db.c
|
|
===================================================================
|
|
--- epan/geoip_db.c.orig
|
|
+++ epan/geoip_db.c
|
|
@@ -161,6 +161,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");
|
|
+ }
|
|
|
|
/* add fake databases for latitude and longitude (using "City" in reality) */
|
|
{
|