From cdd0e3dd30943e46017f90df234da4756ca0a902 Mon Sep 17 00:00:00 2001 From: Kr328 Date: Sun, 3 May 2020 00:51:51 +0800 Subject: [PATCH] fix break connection --- core/src/main/golang/bridge/proxies.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }