From f704374320a75c7e38aaa0f977d59de80cad27ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E5=87=A1=E5=AE=BE?= Date: Wed, 28 Apr 2021 02:18:42 +0800 Subject: [PATCH] modify bugs --- src/local.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/local.c b/src/local.c index 4a94b2b..516f35a 100644 --- a/src/local.c +++ b/src/local.c @@ -1986,6 +1986,10 @@ start_ss_local_server(profile_t profile) server_def_t *serv = &listen_ctx.servers[0]; ss_server_t server_cfg; ss_server_t *serv_cfg = &server_cfg; + server_cfg.protocol = 0; + server_cfg.protocol_param = 0; + server_cfg.obfs = 0; + server_cfg.obfs_param = 0; serv->addr = serv->addr_udp = storage; serv->addr_len = serv->addr_udp_len = get_sockaddr_len((struct sockaddr *) storage); listen_ctx.timeout = timeout;