diff options
author | Luca Deri <deri@ntop.org> | 2021-03-31 12:52:54 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-03-31 12:52:54 +0200 |
commit | 48726301e1a2859e277b2ed5b76338cdf4468b22 (patch) | |
tree | e141840d28fc56678c4416f222ff8d6cae03079a /src/lib | |
parent | 2b84f28df55d2ed05039c9f408761363e53c6714 (diff) |
Fixed mispelled word
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/ndpi_geoip.c | 4 | ||||
-rw-r--r-- | src/lib/ndpi_main.c | 2 |
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); } |