From: Michael Matirko Date: Thu, 16 Apr 2026 20:24:47 +0000 (-0400) Subject: main: save and restore the old network policy on thread_term (#5272) X-Git-Tag: 3.12.2.0~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=14bc64d361effe6492399bc7dc4cf8e5dec1a789;p=thirdparty%2Fsnort3.git main: save and restore the old network policy on thread_term (#5272) --- diff --git a/src/managers/inspector_manager.cc b/src/managers/inspector_manager.cc index e04e02f2f..afe06fd53 100644 --- a/src/managers/inspector_manager.cc +++ b/src/managers/inspector_manager.cc @@ -241,6 +241,8 @@ struct InspectorVector insd.pin->tterm(); } } + + set_network_policy(SnortConfig::get_conf()->policy_map->get_network_policy(0)); } void tear_down(SnortConfig* sc)