From beb97e16faeadabf6664ebfaad5ac55543c84247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=B1=E7=BA=AF=E5=87=80?= <1113655791@qq.com> Date: Sun, 17 Nov 2024 22:52:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dial.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dial.go b/dial.go index 0f0973a..ebc6e1d 100644 --- a/dial.go +++ b/dial.go @@ -23,6 +23,6 @@ func NewHostDial(hosts []string) ios.DialFunc { addr += ":7709" } c, err := net.Dial("tcp", addr) - return c, hosts[index], err + return c, addr, err } }