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