aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ndpi_geoip.c4
-rw-r--r--src/lib/ndpi_main.c2
2 files changed, 3 insertions, 3 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);
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 30b9f19d9..baf076a75 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -2613,7 +2613,7 @@ void ndpi_exit_detection_module(struct ndpi_detection_module_struct *ndpi_str) {
#include "../../../nDPI-custom/ndpi_exit_detection_module.c"
#endif
- ndpi_free_geeoip(ndpi_str);
+ ndpi_free_geoip(ndpi_str);
ndpi_free(ndpi_str);
}