From bf32164729baf308f36af8cfae990e6bfd1f0233 Mon Sep 17 00:00:00 2001 From: yuzuki999 Date: Mon, 13 Jun 2022 15:15:32 +0800 Subject: [PATCH] fix bug --- service/controller/inboundbuilder.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/service/controller/inboundbuilder.go b/service/controller/inboundbuilder.go index 4f6b21a..37ad2a4 100644 --- a/service/controller/inboundbuilder.go +++ b/service/controller/inboundbuilder.go @@ -70,9 +70,7 @@ func InboundBuilder(config *Config, nodeInfo *api.NodeInfo, tag string) (*core.I } else if nodeInfo.NodeType == "Shadowsocks" { defer func() { nodeInfo.V2ray = nil - nodeInfo.SS = nil }() - defer func() { nodeInfo.V2ray = nil; nodeInfo.SS = nil }() nodeInfo.V2ray = &api.V2rayConfig{} nodeInfo.V2ray.Inbounds = []conf.InboundDetourConfig{{Protocol: "shadowsocks"}} proxySetting = &conf.ShadowsocksServerConfig{}