summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vpn-policy-routing/luasrc/model
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2020-05-04 22:54:14 +0000
committerStan Grishin <stangri@melmac.net>2020-05-04 22:54:14 +0000
commit92fc94a0bdcaf48ec5a89892f2b7c429e15cf806 (patch)
treebe97337d428ffca1ca4d14a1f91f3d3691acfcf2 /applications/luci-app-vpn-policy-routing/luasrc/model
parentf0a0d28fdd22b7904ea9a4efb53a7b791dc6dead (diff)
luci-app-vpn-policy-routing: support phys-dev policies
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-vpn-policy-routing/luasrc/model')
-rw-r--r--applications/luci-app-vpn-policy-routing/luasrc/model/cbi/vpn-policy-routing.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-vpn-policy-routing/luasrc/model/cbi/vpn-policy-routing.lua b/applications/luci-app-vpn-policy-routing/luasrc/model/cbi/vpn-policy-routing.lua
index 1004f82753..692c771a43 100644
--- a/applications/luci-app-vpn-policy-routing/luasrc/model/cbi/vpn-policy-routing.lua
+++ b/applications/luci-app-vpn-policy-routing/luasrc/model/cbi/vpn-policy-routing.lua
@@ -282,7 +282,7 @@ if laPlaceholder then
la.placeholder = laPlaceholder
end
la.rmempty = true
-la.datatype = 'list(neg(or(host,network,macaddr)))'
+la.datatype = 'list(neg(or(host,network,macaddr,string)))'
lp = p:option(Value, "src_port", translate("Local ports"))
lp.datatype = 'list(neg(or(portrange, string)))'