From 91ca22f44efe9f11eacf58ac00e2a59fe6486347 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Thu, 30 Dec 2021 22:55:45 +0000 Subject: [PATCH] shadowsockets fullcone inbound support: fix apply simplified config --- proxy/shadowsocks/simplified/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proxy/shadowsocks/simplified/config.go b/proxy/shadowsocks/simplified/config.go index bf792c6df..a81240ed6 100644 --- a/proxy/shadowsocks/simplified/config.go +++ b/proxy/shadowsocks/simplified/config.go @@ -20,7 +20,8 @@ func init() { CipherType: shadowsocks.CipherFromString(simplifiedServer.Method), }), }, - Network: net.ParseNetworks(simplifiedServer.Network), + Network: net.ParseNetworks(simplifiedServer.Network), + PacketEncoding: simplifiedServer.PacketEncoding, } return common.CreateObject(ctx, fullServer)