diff options
| author | 刘学利 <[email protected]> | 2021-03-15 02:00:30 +0000 |
|---|---|---|
| committer | 刘学利 <[email protected]> | 2021-03-15 02:00:30 +0000 |
| commit | 339027c021acb100468e0290374a01a3546ee1c8 (patch) | |
| tree | dc3b9a0f81b9a38cacd3bd6a1de83ea832019e97 | |
| parent | 5a367ff64ca98c4902aa8d6ea19be2cfcb9e18f5 (diff) | |
Bugfix sip rtp schema typev3.4.5
| -rw-r--r-- | src/tsg_entry.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp index 2a151c2..2baa64a 100644 --- a/src/tsg_entry.cpp +++ b/src/tsg_entry.cpp @@ -1075,6 +1075,9 @@ extern "C" char TSG_MASTER_TCP_ENTRY(struct streaminfo *a_tcp, void **pme, int t { copy_identify_info(context, &identify_info, thread_seq); set_session_attribute_label(a_tcp, TSG_ATTRIBUTE_TYPE_PROTOCOL, (void *)(&identify_info.proto), thread_seq); + + context->proto=identify_info.proto; + context->continue_scan_proto_id=APP_SCAN_FLAG_STOP; if(identify_info.proto==PROTO_SSL) { @@ -1237,6 +1240,9 @@ extern "C" char TSG_MASTER_UDP_ENTRY(struct streaminfo *a_udp, void **pme, int t { copy_identify_info(context, &identify_info, thread_seq); set_session_attribute_label(a_udp, TSG_ATTRIBUTE_TYPE_PROTOCOL, (void *)&(identify_info.proto), thread_seq); + + context->proto=identify_info.proto; + context->continue_scan_proto_id=APP_SCAN_FLAG_STOP; hit_num+=tsg_scan_shared_policy(g_tsg_maat_feather, a_udp, &identify_info, result+hit_num, MAX_RESULT_NUM-hit_num, &context->mid, thread_seq); } |
