From c4ea49b0a32437db81a67a58efb05f0d96219fe4 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Sun, 1 Mar 2026 04:53:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=A4=9A=20IP=20?= =?UTF-8?q?=E6=97=B6=20AnyIP=20=E5=9F=9F=E5=90=8D=E5=85=A8=E9=83=A8?= =?UTF-8?q?=E7=9B=B8=E5=90=8C=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8C=E6=AF=8F?= =?UTF-8?q?=E4=B8=AA=20IP=20=E7=94=9F=E6=88=90=E5=90=84=E8=87=AA=E7=9A=84?= =?UTF-8?q?=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index aaeed85..7bec38a 100644 --- a/main.go +++ b/main.go @@ -81,8 +81,8 @@ func main() { fmt.Println(" 地址:") for _, ip := range lanIPs { h := ip - if tlsResult != nil { - h = tlsResult.Host + if tlsResult != nil && tlsResult.AnyIP { + h = vpTLS.AnyIPHost(ip) } fmt.Printf(" - %s\n", buildURL(scheme, h, cfg.Server.Port, token)) }