summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2021-09-27 15:10:50 +0800
committerliuxueli <[email protected]>2021-09-27 15:10:50 +0800
commit36911a6b5f35364fbda937a9019f469b5527d05c (patch)
tree075bb3dce40ba93fde791b03e28ffe2d7c4d519e
parent4388948690718d26b88ee47f8181f03c046c7c5c (diff)
TSG-7953: tsg_master多命中IP DENY策略,发日志时命中个数参数错误导致异常重启v5.4.3dev-K18
-rw-r--r--src/tsg_entry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp
index 5effca2..9164cfc 100644
--- a/src/tsg_entry.cpp
+++ b/src/tsg_entry.cpp
@@ -1631,7 +1631,7 @@ static unsigned char tsg_master_all_entry(const struct streaminfo *a_stream, uns
{
case TSG_ACTION_DENY:
state=tsg_deal_deny_action(a_stream, p_result, PROTO_UNKONWN, ACTION_RETURN_TYPE_APP, a_packet);
- master_send_log(a_stream, p_result, hit_num, NULL, thread_seq);
+ master_send_log(a_stream, p_result, 1, NULL, thread_seq);
break;
case TSG_ACTION_MONITOR:
vlan_num=tsg_get_vlan_id_by_monitor_rule(g_tsg_maat_feather, result, hit_num, vlan, MAX_RESULT_NUM);