From 92fc94a0bdcaf48ec5a89892f2b7c429e15cf806 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Mon, 4 May 2020 22:54:14 +0000 Subject: luci-app-vpn-policy-routing: support phys-dev policies Signed-off-by: Stan Grishin --- .../luci-app-vpn-policy-routing/luasrc/model/cbi/vpn-policy-routing.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-vpn-policy-routing/luasrc/model') 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)))' -- cgit v1.2.3