diff --git a/tools/conf/shadowsocks.go b/tools/conf/shadowsocks.go index a128de6b..b32eeee0 100644 --- a/tools/conf/shadowsocks.go +++ b/tools/conf/shadowsocks.go @@ -117,5 +117,7 @@ func (this *ShadowsocksClientConfig) Build() (*loader.TypedSettings, error) { serverSpecs[idx] = ss } + config.Server = serverSpecs + return loader.NewTypedSettings(config), nil }