mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-04-13 20:28:32 +10:00
dns: remove redundant queryOptions variable
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user