mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 02:40:20 +08:00
fix(shadowsocks): default method omitting error
This commit is contained in:
parent
7c0f58516b
commit
21a28cedc4
@ -46,11 +46,11 @@ struct HttpServerObject
|
||||
struct ShadowSocksServerObject
|
||||
{
|
||||
QString address = "0.0.0.0";
|
||||
QString method = "aes-256-gcm";
|
||||
QString method = "chacha20-ietf-poly1305";
|
||||
QString password;
|
||||
int port = 0;
|
||||
JSONSTRUCT_COMPARE(ShadowSocksServerObject, address, method, password)
|
||||
JSONSTRUCT_REGISTER(ShadowSocksServerObject, F(address, port, method, password))
|
||||
JSONSTRUCT_REGISTER(ShadowSocksServerObject, A(method), F(address, port, password))
|
||||
};
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user