dns: remove redundant queryOptions variable

This commit is contained in:
世界
2026-03-31 17:31:09 +08:00
parent 5b01eaa149
commit 4152022b89

View File

@@ -556,9 +556,8 @@ func (r *Router) exchangeWithRules(ctx context.Context, rules []adapter.DNSRule,
}
}
}
queryOptions := effectiveOptions
transport := r.transport.Default()
exchangeOptions := queryOptions
exchangeOptions := effectiveOptions
if exchangeOptions.Strategy == C.DomainStrategyAsIS {
exchangeOptions.Strategy = r.defaultDomainStrategy
}