fix TSG-14676:Drop After N Packets设置为非0值时,安全日志中有对应策略的日志,但策略详情页显示Log Count为0

This commit is contained in:
Yang Yubo
2023-04-12 18:34:17 +08:00
parent bb264ca20f
commit 3e9f0aa730

View File

@@ -1419,6 +1419,7 @@ static unsigned char matched_security_rules_deal(const struct streaminfo *a_stre
if(is_deny_after_N_packets(p_rule))
{
tsg_set_policy_flow(a_stream, p_rule, a_stream->threadnum);
session_matched_rules_notify(a_stream, TSG_SERVICE_SECURITY, p_rule, 1, a_stream->threadnum);
if(a_stream->type==STREAM_TYPE_TCP)
{