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
|
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"))
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue