DNS Deny动作发送日志不支持多命中

This commit is contained in:
liuxueli
2019-12-06 15:54:50 +08:00
parent 70b19290ce
commit b3294f80bb

View File

@@ -447,10 +447,12 @@ extern "C" char FW_DNS_PLUG_ENTRY(stSessionInfo* session_info, void **pme, int
if(p_result!=NULL)
{
state=fw_dns_action(a_stream, dns_info, p_result, a_packet);
hit_num=1;
fw_dns_send_log(a_stream, dns_info, p_result, 1, thread_seq);
}
else
{
fw_dns_send_log(a_stream, dns_info, result, hit_num, thread_seq);
}
fw_dns_send_log(a_stream, dns_info, result, hit_num, thread_seq);
}