SHA256
1
0
forked from pool/wireshark
wireshark/wireshark-1.2.0-geoip.patch

13 lines
286 B
Diff

--- epan/geoip_db.c
+++ epan/geoip_db.c
@@ -160,6 +160,9 @@
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) */
{