summaryrefslogtreecommitdiff
path: root/src/tsg_rule.cpp
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2023-04-04 19:07:41 +0800
committerliuxueli <[email protected]>2023-04-04 19:07:41 +0800
commitfce380243e9407f313e59bcb84e6d4f0b61262e6 (patch)
treec29d3d1ce2a8ea7a55ac8237049bdee5da74b4cc /src/tsg_rule.cpp
parent92054bc74b0fe03df36393ba763e37250f3610fc (diff)
适配maat_state_set_scan_district函数参数调整v6.0.1
Diffstat (limited to 'src/tsg_rule.cpp')
-rw-r--r--src/tsg_rule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tsg_rule.cpp b/src/tsg_rule.cpp
index 81e283b..539451a 100644
--- a/src/tsg_rule.cpp
+++ b/src/tsg_rule.cpp
@@ -2700,7 +2700,7 @@ size_t tsg_scan_app_properties_policy(const struct streaminfo *a_stream, struct
size_t hit_num=0;
struct maat_rule property_result[MAX_RESULT_NUM]={0};
- maat_state_set_scan_district(s_mid, (const char *)district, strlen(district));
+ maat_state_set_scan_district(s_mid, g_tsg_maat_rt_para.scan_tb[MAAT_SCAN_SELECTOR_PROPERTIES].id, (const char *)district, strlen(district));
size_t ret=tsg_scan_string(a_stream, feather, property, strlen(property), MAAT_SCAN_SELECTOR_PROPERTIES, s_mid, property_result, MAX_RESULT_NUM);
for(size_t i=0; i<ret; i++)
{