summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2022-11-15 16:44:40 +0800
committerfengweihao <[email protected]>2022-11-15 16:44:40 +0800
commit3b28b8d897ef58352505747b59239f082243f5a6 (patch)
tree5d1a6284615e3a62d8946fe26a8e97667a2d040d
parent6b904fdf58d5d660b887c812c52b3ccacef49af5 (diff)
TSG-12637 monitor和deny动作未填写Vsysidv4.6.23-20221115
-rw-r--r--plugin/business/tsg-http/src/tsg_http.cpp6
1 files changed, 5 insertions, 1 deletions
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 &&