From 3b28b8d897ef58352505747b59239f082243f5a6 Mon Sep 17 00:00:00 2001 From: fengweihao Date: Tue, 15 Nov 2022 16:44:40 +0800 Subject: [PATCH] =?UTF-8?q?TSG-12637=20monitor=E5=92=8Cdeny=E5=8A=A8?= =?UTF-8?q?=E4=BD=9C=E6=9C=AA=E5=A1=AB=E5=86=99Vsysid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/business/tsg-http/src/tsg_http.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugin/business/tsg-http/src/tsg_http.cpp b/plugin/business/tsg-http/src/tsg_http.cpp index 370ad16..8481e90 100644 --- a/plugin/business/tsg-http/src/tsg_http.cpp +++ b/plugin/business/tsg-http/src/tsg_http.cpp @@ -3164,10 +3164,14 @@ void proxy_on_http_end(const struct tfe_stream * stream, .asn_client=ctx->ip_ctx.asn_client, .asn_server=ctx->ip_ctx.asn_server, .location_client=ctx->ip_ctx.location_client, .location_server=ctx->ip_ctx.location_server}; + if(ctx != NULL && ctx->param != NULL) + { + log_msg.vsys_id = ctx->param->vsys_id; + } + if(ctx->action == PX_ACTION_MANIPULATE) { log_msg.action = ctx->param->action; - log_msg.vsys_id = ctx->param->vsys_id; } if(ctx->action != PX_ACTION_NONE &&