TSG-23925 Supports scanning of source_zone and destination_zone, and removes internal and external

This commit is contained in:
fengweihao
2024-11-27 17:26:57 +08:00
parent 43cbb3745f
commit dd4e2e6d66
7 changed files with 58 additions and 146 deletions

View File

@@ -353,6 +353,11 @@ static void doh_maat_scan(const struct tfe_stream *stream, const struct tfe_http
{
hit_cnt += scan_ret;
}
scan_ret = tfe_scan_zone(stream, result, ctx->scan_mid, hit_cnt);
if(scan_ret > 0)
{
hit_cnt += scan_ret;
}
// scan qname
scan_ret = maat_scan_string(g_doh_conf->maat, "TSG_OBJ_FQDN", "DOH_QNAME", qname, strlen(qname),