mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 10:50:23 +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
|
struct ShadowSocksServerObject
|
||||||
{
|
{
|
||||||
QString address = "0.0.0.0";
|
QString address = "0.0.0.0";
|
||||||
QString method = "aes-256-gcm";
|
QString method = "chacha20-ietf-poly1305";
|
||||||
QString password;
|
QString password;
|
||||||
int port = 0;
|
int port = 0;
|
||||||
JSONSTRUCT_COMPARE(ShadowSocksServerObject, address, method, password)
|
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