From ee7300435af72ce50a4d30fa53a0d0bb3461d53b Mon Sep 17 00:00:00 2001 From: CN-JS-HuiBai Date: Wed, 15 Apr 2026 00:06:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=AF=B9=E8=B1=A1=E9=83=BD?= =?UTF-8?q?=E5=8A=A0=E4=B8=8A=E4=BA=86=E5=8F=96=E5=9C=B0=E5=9D=80=E7=AC=A6?= =?UTF-8?q?=20&?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/xboard/service.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/service/xboard/service.go b/service/xboard/service.go index 9b267367..35895340 100644 --- a/service/xboard/service.go +++ b/service/xboard/service.go @@ -274,14 +274,14 @@ func (s *Service) setupNode() error { }, } } - inboundOptions = vlessOptions + inboundOptions = &vlessOptions case "vmess": vmessOptions := option.VMessInboundOptions{ ListenOptions: option.ListenOptions{ ListenPort: uint16(inner.Port), }, } - inboundOptions = vmessOptions + inboundOptions = &vmessOptions case "shadowsocks": ssOptions := option.ShadowsocksInboundOptions{ ListenOptions: option.ListenOptions{ @@ -290,14 +290,14 @@ func (s *Service) setupNode() error { Method: inner.Cipher, Password: inner.ServerKey, } - inboundOptions = ssOptions + inboundOptions = &ssOptions case "trojan": trojanOptions := option.TrojanInboundOptions{ ListenOptions: option.ListenOptions{ ListenPort: uint16(inner.Port), }, } - inboundOptions = trojanOptions + inboundOptions = &trojanOptions default: return fmt.Errorf("unsupported protocol: %s", protocol) }