aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_geoip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ndpi_geoip.c')
-rw-r--r--src/lib/ndpi_geoip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ndpi_geoip.c b/src/lib/ndpi_geoip.c
index e85a9043d..d689258c3 100644
--- a/src/lib/ndpi_geoip.c
+++ b/src/lib/ndpi_geoip.c
@@ -35,7 +35,7 @@
/* ********************************************************************************* */
-int ndpi_load_geeoip(struct ndpi_detection_module_struct *ndpi_str,
+int ndpi_load_geoip(struct ndpi_detection_module_struct *ndpi_str,
const char *ip_city_data, const char *ip_as_data) {
#ifdef HAVE_MAXMINDDB
int status;
@@ -59,7 +59,7 @@ int ndpi_load_geeoip(struct ndpi_detection_module_struct *ndpi_str,
/* ********************************************************************************* */
-void ndpi_free_geeoip(struct ndpi_detection_module_struct *ndpi_str) {
+void ndpi_free_geoip(struct ndpi_detection_module_struct *ndpi_str) {
#ifdef HAVE_MAXMINDDB
if(ndpi_str->mmdb_city_loaded) MMDB_close(&ndpi_str->mmdb_city);
if(ndpi_str->mmdb_as_loaded) MMDB_close(&ndpi_str->mmdb_as);