update 2025-02-11 10:44:37
This commit is contained in:
parent
67d8782a27
commit
3ac3b08a7b
|
@ -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"))
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue