luci-app-passwall: sync upstream

last commit: d6276f8285
This commit is contained in:
gitea-action 2025-02-11 11:00:20 +08:00
parent 06bb33693d
commit 80db789a4d
2 changed files with 3 additions and 1 deletions

View File

@ -98,6 +98,8 @@ end
source.write = dynamicList_write source.write = dynamicList_write
sourcePort = s:option(Value, "sourcePort", translate("Source port"))
port = s:option(Value, "port", translate("port")) port = s:option(Value, "port", translate("port"))
domain_list = s:option(TextValue, "domain_list", translate("Domain")) domain_list = s:option(TextValue, "domain_list", translate("Domain"))

View File

@ -1049,7 +1049,7 @@ function gen_config(var)
balancerTag = balancer_tag, balancerTag = balancer_tag,
network = e["network"] or "tcp,udp", network = e["network"] or "tcp,udp",
source = source, source = source,
sourcePort = nil, sourcePort = e["sourcePort"] ~= "" and e["sourcePort"] or nil,
port = e["port"] ~= "" and e["port"] or nil, port = e["port"] ~= "" and e["port"] or nil,
protocol = protocols protocol = protocols
} }