Update gen_config.lua
fix gen config module for tuic server params
This commit is contained in:
parent
973cf36098
commit
6b24b215dd
@ -420,7 +420,7 @@ local tuic = {
|
||||
receive_window = tonumber(server.receive_window)
|
||||
},
|
||||
["local"] = {
|
||||
server = tonumber(socks_port) and "[::]:" .. (socks_port == "0" and local_port or tonumber(socks_port)),
|
||||
server = tonumber(socks_port) and (server.tuic_dual_stack == "1" and "[::1]:" or "127.0.0.1:") .. (socks_port == "0" and local_port or tonumber(socks_port)),
|
||||
dual_stack = (server.tuic_dual_stack == "1") and true or false,
|
||||
max_packet_size = tonumber(server.tuic_max_package_size)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user