mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-07-27 09:11:49 +03:00
Avoid nested direct outbound usage
This commit is contained in:
@@ -23,7 +23,7 @@ func New(router adapter.Router, options option.DialerOptions) (N.Dialer, error)
|
||||
return nil, err
|
||||
}
|
||||
} else {
|
||||
dialer = NewDetour(router, options.Detour)
|
||||
dialer = NewDetour(router, options.Detour, false)
|
||||
}
|
||||
domainStrategy := dns.DomainStrategy(options.DomainStrategy)
|
||||
if domainStrategy != dns.DomainStrategyAsIS || options.Detour == "" {
|
||||
|
||||
Reference in New Issue
Block a user