mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-18 08:20:53 +00:00
feat: Allow provider.dialer-proxy to specify all-proxies, not just proxies
This commit is contained in:
parent
ca3f1ebae6
commit
9ffde8aee1
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ func New(proxy C.ProxyAdapter, dialer C.Dialer, statistic bool) C.Dialer {
|
|||
}
|
||||
|
||||
func NewByName(proxyName string, dialer C.Dialer) (C.Dialer, error) {
|
||||
proxies := tunnel.Proxies()
|
||||
proxies := tunnel.ProxiesWithProviders()
|
||||
if proxy, ok := proxies[proxyName]; ok {
|
||||
return New(proxy, dialer, true), nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue