From 0b3e0058fe36400682a26407540a5f03ec7787a7 Mon Sep 17 00:00:00 2001 From: liuxueli Date: Tue, 30 May 2023 11:21:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/src/gtest_fieldstat3.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/src/gtest_fieldstat3.cpp b/test/src/gtest_fieldstat3.cpp index 0e9df5c..ffb0ff8 100644 --- a/test/src/gtest_fieldstat3.cpp +++ b/test/src/gtest_fieldstat3.cpp @@ -59,7 +59,7 @@ TEST(FIELDSATA3, Intercept) p_result.action = TSG_ACTION_INTERCEPT; p_result.rule_id = 95536; p_result.do_log = 1; - p_result.service_id = 10; + p_result.service_id = TSG_SERVICE_INTERCEPT; for (int i = 0; i < 50000; i++) { @@ -78,6 +78,7 @@ TEST(FIELDSATA3, PolicyFlow) p_result.action = TSG_ACTION_MONITOR; p_result.rule_id = 95500; + p_result.service_id=TSG_SERVICE_SECURITY; for (int i = 0; i < 50000; i++) {