TSG-14379 Monitor策略日志多命中情况下Vsys ID填写错误

This commit is contained in:
fengweihao
2023-04-04 16:06:40 +08:00
parent 26b533cba9
commit ed9a4739a1
7 changed files with 40 additions and 26 deletions

View File

@@ -107,7 +107,6 @@ struct doh_action_param
char *message;
char *position;
float enforcement_ratio;
int vsys_id;
int profile_id;
int status_code;
size_t n_rule;
@@ -486,6 +485,12 @@ static void doh_ctx_free(struct doh_ctx *ctx)
ctx->opts = NULL;
}
if(ctx->scan_mid)
{
maat_state_free(ctx->scan_mid);
ctx->scan_mid = NULL;
}
if (ctx->http_req_body)
{
evbuffer_free(ctx->http_req_body);
@@ -515,7 +520,6 @@ static void doh_ctx_free(struct doh_ctx *ctx)
free(ctx->location_server);
ctx->location_server = NULL;
}
FREE(&ctx);
}