update 2022-07-18 20:24:49

This commit is contained in:
github-actions[bot]
2022-07-18 20:24:49 +08:00
parent 015a57594a
commit f10b991b71
14 changed files with 403 additions and 370 deletions

View File

@@ -296,7 +296,7 @@ local hysteria = {
protocol = server.hysteria_protocol,
up_mbps = tonumber(server.uplink_capacity),
down_mbps = tonumber(server.downlink_capacity),
socks5 = (proto:find("tcp") and tonumber(socks_port) and tonumber(socks_port) ~= "0") and {
socks5 = (proto:find("tcp") and tonumber(socks_port) and tonumber(socks_port) ~= 0) and {
listen = "0.0.0.0:" .. tonumber(socks_port),
timeout = 300,
disable_udp = false