luci-app-vpn-policy-routing: support phys-dev policies 4009/head
authorStan Grishin <stangri@melmac.net>
Mon, 4 May 2020 22:54:30 +0000 (22:54 +0000)
committerStan Grishin <stangri@melmac.net>
Mon, 4 May 2020 22:54:30 +0000 (22:54 +0000)
Signed-off-by: Stan Grishin <stangri@melmac.net>
applications/luci-app-vpn-policy-routing/Makefile
applications/luci-app-vpn-policy-routing/luasrc/model/cbi/vpn-policy-routing.lua

index 7b1b2f6928f32fe9b9acfcfb9ac94424e6b81b7f..6daf81b5c8eb7e53268f351a1f61dcca1fd8f012 100644 (file)
@@ -10,7 +10,7 @@ LUCI_TITLE:=VPN Policy-Based Routing Service Web UI
 LUCI_DESCRIPTION:=Provides Web UI for vpn-policy-routing service.
 LUCI_DEPENDS:=+luci-compat +luci-mod-admin-full +vpn-policy-routing
 LUCI_PKGARCH:=all
-PKG_RELEASE:=72
+PKG_RELEASE:=73
 
 include ../../luci.mk
 
index 1004f827533516c5ea7f23da2d4f9dc0c5cadf64..692c771a43d1935f391265247ac170b231d62cc8 100644 (file)
@@ -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)))'