summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vpn-policy-routing/luasrc
diff options
context:
space:
mode:
authorStan <stangri@melmac.net>2020-05-04 15:55:36 -0700
committerGitHub <noreply@github.com>2020-05-04 15:55:36 -0700
commita232bcf8fb171f43281cb0e8aaa6af2be9eac1a4 (patch)
treebe97337d428ffca1ca4d14a1f91f3d3691acfcf2 /applications/luci-app-vpn-policy-routing/luasrc
parentf0a0d28fdd22b7904ea9a4efb53a7b791dc6dead (diff)
parent92fc94a0bdcaf48ec5a89892f2b7c429e15cf806 (diff)
Merge pull request #4008 from stangri/master-luci-app-vpn-policy-routing
luci-app-vpn-policy-routing: support phys-dev policies
Diffstat (limited to 'applications/luci-app-vpn-policy-routing/luasrc')
-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)))'