Browse Source

shadowsockets fullcone inbound support: fix apply simplified config

Shelikhoo 3 years ago
parent
commit
91ca22f44e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      proxy/shadowsocks/simplified/config.go

+ 2 - 1
proxy/shadowsocks/simplified/config.go

@@ -20,7 +20,8 @@ func init() {
 					CipherType: shadowsocks.CipherFromString(simplifiedServer.Method),
 					CipherType: shadowsocks.CipherFromString(simplifiedServer.Method),
 				}),
 				}),
 			},
 			},
-			Network: net.ParseNetworks(simplifiedServer.Network),
+			Network:        net.ParseNetworks(simplifiedServer.Network),
+			PacketEncoding: simplifiedServer.PacketEncoding,
 		}
 		}
 
 
 		return common.CreateObject(ctx, fullServer)
 		return common.CreateObject(ctx, fullServer)