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 &&