|
@@ -476,8 +476,8 @@ local tuic = {
|
|
|
receive_window = tonumber(server.receive_window)
|
|
|
},
|
|
|
["local"] = {
|
|
|
- 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,
|
|
|
+ server = tonumber(socks_port) and "[::]:" .. (socks_port == "0" and local_port or tonumber(socks_port)),
|
|
|
+ dual_stack = (server.tuic_dual_stack == "1") and true or nil,
|
|
|
max_packet_size = tonumber(server.tuic_max_package_size)
|
|
|
}
|
|
|
}
|