TSG-22512 修复Manipulation配置Server FQDN Tags策略无法命中

TSG-22504 Manipulation日志输出Client Country,server_country字段
TSG-22374 修复Manipulation日志字段中的http版本号
This commit is contained in:
fengweihao
2024-09-11 17:49:14 +08:00
parent 268b80c3de
commit 1b917ef5ae
5 changed files with 19 additions and 9 deletions

View File

@@ -308,9 +308,9 @@ static void doh_maat_scan(const struct tfe_stream *stream, const struct tfe_http
}
scan_ret = tfe_scan_fqdn_tags(stream, result, ctx->scan_mid, hit_cnt, g_doh_conf->tables[TYPE_HOST].id, g_doh_conf->local_logger);
if (scan_ret == MAAT_SCAN_HIT)
if (scan_ret > 0)
{
hit_cnt += n_hit_result;
hit_cnt += scan_ret;
}
}