Merge in SNORT/snort3 from ~LCZARNIK/snort3:broad_ctrlcon to master
Squashed commit of the following:
commit
43cc5e1b230645b337b19bcb350c511ac67f8abf
Author: Lukasz Czarnik <lczarnik@cisco.com>
Date: Fri Mar 1 08:33:46 2024 -0500
appid: broadcast commands with ctrlcon
void SnortConfig::update_scratch(ControlConn* ctrlcon)
{
- main_broadcast_command(new ACScratchUpdate(this, scratch_handlers, ctrlcon));
+ main_broadcast_command(new ACScratchUpdate(this, scratch_handlers, ctrlcon), ctrlcon);
}
void SnortConfig::clone(const SnortConfig* const conf)
delete tp_ctxt;
AppIdContext& ctxt = inspector.get_ctxt();
ctxt.create_tp_appid_ctxt();
- main_broadcast_command(new ACThirdPartyAppIdContextSwap(inspector, ctrlcon));
+ main_broadcast_command(new ACThirdPartyAppIdContextSwap(inspector, ctrlcon), ctrlcon);
log_message("== unload old third-party complete\n");
ReloadTracker::update(ctrlcon, "unload old third-party complete, start swapping to new configuration.");
}