From 6b904fdf58d5d660b887c812c52b3ccacef49af5 Mon Sep 17 00:00:00 2001 From: fengweihao Date: Mon, 14 Nov 2022 12:30:33 +0800 Subject: [PATCH] =?UTF-8?q?TSG-12614=20=E5=8A=A8=E4=BD=9C=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E8=B5=8B=E5=80=BC=E6=97=B6=E6=9C=BA=E9=94=99=E8=AF=AF?= =?UTF-8?q?=EF=BC=8C=E5=AF=BC=E8=87=B4tfe=E9=87=8D=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/business/tsg-http/src/tsg_http.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/business/tsg-http/src/tsg_http.cpp b/plugin/business/tsg-http/src/tsg_http.cpp index 7856462..370ad16 100644 --- a/plugin/business/tsg-http/src/tsg_http.cpp +++ b/plugin/business/tsg-http/src/tsg_http.cpp @@ -3162,11 +3162,12 @@ void proxy_on_http_end(const struct tfe_stream * stream, struct proxy_log log_msg = {.stream=stream, .http=session, .result=ctx->enforce_rules, .result_num=ctx->n_enforce, .req_body=ctx->log_req_body, .resp_body=ctx->log_resp_body, .action=0, .inject_sz=ctx->inject_sz, .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, .vsys_id=ctx->param->vsys_id}; + .location_server=ctx->ip_ctx.location_server}; 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 &&