diff --git a/core/src/main/golang/bridge/proxies.go b/core/src/main/golang/bridge/proxies.go index 8f8004d..1277f59 100644 --- a/core/src/main/golang/bridge/proxies.go +++ b/core/src/main/golang/bridge/proxies.go @@ -135,7 +135,7 @@ func SetSelectedProxy(name, proxy string) bool { for _, conn := range tunnel.DefaultManager.Snapshot().Connections { for _, p := range conn.Chain() { - if p == proxy { + if p == name { _ = conn.Close() break }