summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2023-04-04 19:52:39 +0800
committerfengweihao <[email protected]>2023-04-04 19:52:39 +0800
commit77927208f98eee56eb2a3f55e3304c7cabc5fe98 (patch)
tree7d8a6df18de225ef35c72c10e356ca4ce64279af
parented9a4739a1736dcb3cd1758dd75c8ab071f0106d (diff)
适配maat_state_set_scan_district接口变更v4.8.3-20230404
-rw-r--r--plugin/business/tsg-http/src/tsg_http.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/business/tsg-http/src/tsg_http.cpp b/plugin/business/tsg-http/src/tsg_http.cpp
index af64d20..572d419 100644
--- a/plugin/business/tsg-http/src/tsg_http.cpp
+++ b/plugin/business/tsg-http/src/tsg_http.cpp
@@ -2700,7 +2700,7 @@ enum proxy_action http_scan(const struct tfe_http_session * session, enum tfe_ht
}
const char * str_field_name = http_field_name_to_string(&field_name);
- scan_ret = maat_state_set_scan_district(ctx->scan_mid, str_field_name, strlen(str_field_name));
+ scan_ret = maat_state_set_scan_district(ctx->scan_mid, table_id, str_field_name, strlen(str_field_name));
assert(scan_ret == 0);
scan_ret = maat_scan_string(g_proxy_rt->feather, table_id, field_val, strlen(field_val),