aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2025-05-29 09:18:37 +0200
committerLuca Deri <deri@ntop.org>2025-05-29 09:18:37 +0200
commitbebacc853d6157e779c345330535ac94dcf5d70d (patch)
tree38a3ae44eb84c05b1a4c959df610112802683919 /example/reader_util.c
parentf751fd33322a91bb8e254e191b43d301c7f38520 (diff)
Changed variable name
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c6
1 files changed, 3 insertions, 3 deletions
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) {