aboutsummaryrefslogtreecommitdiffstats
path: root/epan/geoip_db.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-12-26 22:24:15 +0000
committerGuy Harris <guy@alum.mit.edu>2012-12-26 22:24:15 +0000
commitab638bb6fcb5171dcfafea6c17e3e6c464f65e05 (patch)
tree6c841c3ad649e007667316f3b618f6cdf8cb7a8a /epan/geoip_db.c
parent5c2a86ebc83ed4d4f517203a227c3d2638661de7 (diff)
geoip_db_get_paths() is exported from libwireshark, so it has to exist
regardless of whether we have GeoIP or not. However, regardless of whether it's exported from GeoIP or not, it should return a g_mallocated string. svn path=/trunk/; revision=46798
Diffstat (limited to 'epan/geoip_db.c')
-rw-r--r--epan/geoip_db.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/geoip_db.c b/epan/geoip_db.c
index a3de9fd481..5b79b64e5f 100644
--- a/epan/geoip_db.c
+++ b/epan/geoip_db.c
@@ -596,6 +596,11 @@ geoip_db_lookup_ipv6(guint dbnum _U_, guint32 addr _U_, const char *not_found) {
return not_found;
}
+gchar *
+geoip_db_get_paths(void) {
+ return g_strdup("");
+}
+
#endif /* HAVE_GEOIP */
/*