update 2025-02-11 10:44:37

This commit is contained in:
kenzok8 2025-02-11 10:44:37 +08:00
parent 67d8782a27
commit 3ac3b08a7b
2 changed files with 3 additions and 1 deletions

View File

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

View File

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