Add option to disable flow user scripts invocation

This commit is contained in:
emanuele-f 2019-12-23 18:01:39 +01:00
parent 405facaf40
commit 8b7d711a36
13 changed files with 29 additions and 17 deletions

View file

@ -95,7 +95,7 @@ bool GenericHashEntry::is_hash_entry_state_idle_transition_possible() const {
/* ***************************************** */
void GenericHashEntry::periodic_hash_entry_state_update(void *user_data, bool quick) {
void GenericHashEntry::periodic_hash_entry_state_update(void *user_data, bool quick, bool skip_user_scripts) {
if(get_state() == hash_entry_state_idle) {
if(!idle() && !ntop->getGlobals()->isShutdown()) {
/* This should never happen */