From bebacc853d6157e779c345330535ac94dcf5d70d Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Thu, 29 May 2025 09:18:37 +0200 Subject: Changed variable name --- example/reader_util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'example/reader_util.c') diff --git a/example/reader_util.c b/example/reader_util.c index 46f19614f..60a582e18 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -85,7 +85,7 @@ u_int8_t enable_doh_dot_detection = 0; extern bool do_load_lists; extern int malloc_size_stats; extern int monitoring_enabled; -extern char *_protocolsDirPath; +extern char *protocolsDirPath; /* ****************************************************** */ @@ -444,8 +444,8 @@ struct ndpi_workflow* ndpi_workflow_init(const struct ndpi_workflow_prefs * pref return NULL; } - if(_protocolsDirPath != NULL) - ndpi_load_protocols_dir(module, _protocolsDirPath); + if(protocolsDirPath != NULL) + ndpi_load_protocols_dir(module, protocolsDirPath); workflow = ndpi_calloc(1, sizeof(struct ndpi_workflow)); if(workflow == NULL) { -- cgit v1.2.3