From a35b9e28947eea872e67fa994b02f705423d39e2 Mon Sep 17 00:00:00 2001 From: liuxueli Date: Tue, 29 Jun 2021 14:30:58 +0800 Subject: [PATCH] =?UTF-8?q?TSG-6775,=20=E4=BF=AE=E5=A4=8D=E5=91=BD?= =?UTF-8?q?=E4=B8=ADSSH=E5=8D=8F=E8=AE=AE=E6=97=A0=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tsg_entry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp index a0af84f..09af37f 100644 --- a/src/tsg_entry.cpp +++ b/src/tsg_entry.cpp @@ -241,6 +241,7 @@ static int set_drop_stream(const struct streaminfo *a_stream) { int opt_value=1; MESA_set_stream_opt(a_stream, MSO_DROP_STREAM, (void *)&opt_value, sizeof(opt_value)); + MESA_set_stream_opt(a_stream, MSO_DROP_CURRENT_PKT, (void *)&opt_value, sizeof(opt_value)); MESA_set_stream_opt(a_stream, MSO_TIMEOUT, (void *)&g_tsg_para.timeout, sizeof(g_tsg_para.timeout)); return 0; @@ -1393,7 +1394,7 @@ static int master_deal_pending_state(const struct streaminfo *a_stream, struct m FS_operate(g_tsg_para.fs2_handle, g_tsg_para.fs2_field_id[TSG_FS2_HIT_ADDR], 0, FS_OP_ADD, 1); } - if((is_only_monitor(result, hit_num)) && context->proto!=PROTO_UNKONWN && context->proto!=PROTO_APP) // business deal action of monitor + if((is_only_monitor(result, hit_num)) && context->proto!=PROTO_UNKONWN && context->proto!=PROTO_APP && context->proto!=PROTO_SSH) // business deal action of monitor { hit_num=0; }