diff options
| author | liuxueli <[email protected]> | 2021-03-08 11:19:17 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2021-03-08 11:19:17 +0800 |
| commit | d265be968799327ac0d20748eba98390c22f72ac (patch) | |
| tree | b5b293baac0ab94671d00f3a5a8656ce79fc54b9 /src/tsg_rule.cpp | |
| parent | 16ef0cde921fb2fac7652265e26a112c3262f0ec (diff) | |
修复基础协议管控RST动作不生效的问题,使用MESA_rst_tcp函数需指定RST包方向v3.4.1
修复重构后FQDN分类不命中的BUG
Diffstat (limited to 'src/tsg_rule.cpp')
| -rw-r--r-- | src/tsg_rule.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tsg_rule.cpp b/src/tsg_rule.cpp index 0b36906..361faae 100644 --- a/src/tsg_rule.cpp +++ b/src/tsg_rule.cpp @@ -1585,8 +1585,8 @@ int tsg_scan_shared_policy(Maat_feather_t maat_feather, struct streaminfo *a_str ); } - ret=project_req_add_struct(a_stream, g_tsg_para.internal_project_id, (const void *)attribute_label); - if(ret>0) + attribute_label=(struct _session_attribute_label_t *)project_req_get_struct(a_stream, g_tsg_para.internal_project_id); + if(attribute_label!=NULL) { attribute_label->fqdn_category_id_num=tsg_get_fqdn_category_id(g_tsg_maat_feather, identify_info->domain, |
