Squashed commit of the following:
commit
d467f58db0d2eb6a8618050bcdf2e48c027c83a9
Author: Silviu Minut <sminut@cisco.com>
Date: Fri Oct 26 14:25:20 2018 -0400
framework: set the reload_type flags to RELOAD_TYPE_NONE at the end of reload, in anticipation of future reloads.
reputation: delete old conf before allocating a new one in ReputationModule::begin() if conf not null
framework: replace the newly introduced loop to reset the reload_type flags with the existing Inspector::update_policy function
MpseManager::activate_search_engine(sc->fast_pattern_config->get_search_api(), sc);
}
+ InspectorManager::update_policy(sc);
reloading = false;
parser_term(sc);
bool ReputationModule::begin(const char*, int, SnortConfig*)
{
+ if ( conf )
+ delete conf;
conf = new ReputationConfig;
return true;
}
return true;
}
-