summaryrefslogtreecommitdiff
path: root/plugin/business/doh/src
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2024-11-27 17:26:57 +0800
committerfengweihao <[email protected]>2024-11-27 17:26:57 +0800
commitdd4e2e6d66fcd20b29e6733ef2f10d7c1dfad942 (patch)
tree8093362484e2deb05c5c1d57f05ef7b457d6cf68 /plugin/business/doh/src
parent43cbb3745f333a83be6123734e0981d548abf771 (diff)
TSG-23925 Supports scanning of source_zone and destination_zone, and removes internal and external
Diffstat (limited to 'plugin/business/doh/src')
-rw-r--r--plugin/business/doh/src/doh.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/business/doh/src/doh.cpp b/plugin/business/doh/src/doh.cpp
index 17b55e0..dc91fcd 100644
--- a/plugin/business/doh/src/doh.cpp
+++ b/plugin/business/doh/src/doh.cpp
@@ -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),