mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-04-28 06:59:40 +00:00
Added detection of plugins not enabled
This commit is contained in:
parent
7d00f37528
commit
bfbb6eb2df
1 changed files with 4 additions and 2 deletions
|
|
@ -39,9 +39,9 @@
|
|||
/* ************************************** */
|
||||
|
||||
/* Load a single protocol plugin */
|
||||
#ifdef HAVE_PLUGINS
|
||||
static bool ndpi_load_protocol_plugin(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
char *plugin_path) {
|
||||
#ifdef HAVE_PLUGINS
|
||||
void *pluginEntryFctnPtr;
|
||||
void *pluginPtr;
|
||||
NDPIProtocolPluginEntryPoint* (*pluginEntryFctn)(void);
|
||||
|
|
@ -94,8 +94,10 @@ static bool ndpi_load_protocol_plugin(struct ndpi_detection_module_struct *ndpi_
|
|||
}
|
||||
|
||||
return(true);
|
||||
}
|
||||
#else
|
||||
return(false);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* ************************************** */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue