From 86d638167e93931c020c85038775dacf1beb979e Mon Sep 17 00:00:00 2001 From: Jrohy Date: Wed, 16 Feb 2022 17:22:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BF=AE=E6=94=B9=E7=AB=AF?= =?UTF-8?q?=E5=8F=A3=E5=90=8E=E9=98=B2=E7=81=AB=E5=A2=99=E5=BC=80=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trojan/trojan.go | 1 + 1 file changed, 1 insertion(+) diff --git a/trojan/trojan.go b/trojan/trojan.go index 6ee53e1f..8635f596 100644 --- a/trojan/trojan.go +++ b/trojan/trojan.go @@ -108,6 +108,7 @@ func ChangePort() { return } if core.WritePort(newPort) { + util.OpenPort(newPort) fmt.Println(util.Green("端口修改成功!")) Restart() } else {