From 1e869c3ded631806106121b6964e728af0c6a1af Mon Sep 17 00:00:00 2001 From: luqiuwen Date: Tue, 13 Aug 2019 13:55:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=A7=A3=E5=AF=86=E6=B5=81?= =?UTF-8?q?=E9=87=8F=E8=BD=AC=E5=8F=91=E4=B8=AD=E9=83=A8=E5=88=86=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=E5=87=BD=E6=95=B0=E6=B2=A1=E6=9C=89=E6=AD=A3=E7=A1=AE?= =?UTF-8?q?=E4=BC=A0=E7=BA=BF=E7=A8=8B=E5=8F=B7=EF=BC=8C=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=BA=BF=E7=A8=8B=E7=AB=9E=E4=BA=89=E8=AE=BF=E9=97=AE=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/business/traffic-mirror/src/entry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/business/traffic-mirror/src/entry.cpp b/plugin/business/traffic-mirror/src/entry.cpp index 16bea98..3ec13b2 100644 --- a/plugin/business/traffic-mirror/src/entry.cpp +++ b/plugin/business/traffic-mirror/src/entry.cpp @@ -635,7 +635,7 @@ enum tfe_stream_action traffic_mirror_on_data_cb(const struct tfe_stream * strea enum tfe_conn_dir dir, const unsigned char * data, size_t len, void ** pme) { struct traffic_mirror_me * me = (struct traffic_mirror_me *)(*pme); - traffic_mirror_rebuild_data(me->rebuild_ctx, 0, (const char *) data, (size_t) len, dir); + traffic_mirror_rebuild_data(me->rebuild_ctx, thread_id, (const char *) data, (size_t) len, dir); return ACTION_FORWARD_DATA; } @@ -643,7 +643,7 @@ void traffic_mirror_on_close_cb(const struct tfe_stream * stream, unsigned int t enum tfe_stream_close_reason reason, void ** pme) { struct traffic_mirror_me * me = (struct traffic_mirror_me *)(*pme); - traffic_mirror_rebuild_farewell(me->rebuild_ctx, 0); + traffic_mirror_rebuild_farewell(me->rebuild_ctx, thread_id); traffic_mirror_rebuild_destroy(me->rebuild_ctx); profile_table_ex_data_free(me->profile_ex_data);