File wireshark-1.2.0-geoip.patch of Package wireshark

---
 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) */
openSUSE Build Service is sponsored by