luci-app-passwall: sync upstream

last commit: 3f67c72592
This commit is contained in:
actions 2024-05-01 00:30:06 +08:00
parent f076ebc4ca
commit fab733c71c

View File

@ -616,7 +616,7 @@ function gen_config(var)
settings = {network = "tcp,udp", followRedirect = true},
streamSettings = {sockopt = {tproxy = "tproxy"}},
sniffing = {
enabled = xray_settings.sniffing == "1" or node.protocol == "_shunt",,
enabled = xray_settings.sniffing == "1" or node.protocol == "_shunt",
destOverride = {"http", "tls", "quic"},
metadataOnly = false,
routeOnly = (xray_settings.sniffing == "1" and xray_settings.route_only == "1") or (xray_settings.sniffing == "0" and node.protocol == "_shunt"),