diff --git a/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js b/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js
index 00e272677..5ece96be2 100644
--- a/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js
+++ b/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js
@@ -163,8 +163,10 @@ return view.extend({
var name = uci.get('firewall', section_id, 'name'),
cfgvalue = this.cfgvalue(section_id);
+ /*
if (typeof(cfgvalue) == 'string' && Array.isArray(formvalue) && (cfgvalue == formvalue.join(' ')))
return;
+ */
var tasks = [ firewall.getZone(name) ];
diff --git a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm
index b29175167..55ec6e531 100644
--- a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm
+++ b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm
@@ -295,17 +295,17 @@
for _, vpn in pairs(available_vpns) do
if vpn == "glorytun_tcp" then
%>
- <% if nixio.fs.access("/usr/sbin/glorytun") then %><% end %>
+ <% if nixio.fs.access("/usr/sbin/glorytun") then %><% end %>
<% elseif vpn == "glorytun_udp" then %>
- <% if nixio.fs.access("/usr/sbin/glorytun-udp") then %><% end %>
+ <% if nixio.fs.access("/usr/sbin/glorytun-udp") then %><% end %>
<% elseif vpn == "dsvpn" then %>
- <% if nixio.fs.access("/usr/sbin/dsvpn") then %><% end %>
+ <% if nixio.fs.access("/usr/sbin/dsvpn") then %><% end %>
<% elseif vpn == "mlvpn" then %>
- <% if nixio.fs.access("/usr/sbin/mlvpn") then %><% end %>
+ <% if nixio.fs.access("/usr/sbin/mlvpn") then %><% end %>
<% elseif vpn == "ubond" then %>
- <% if nixio.fs.access("/usr/sbin/ubond") then %><% end %>
+ <% if nixio.fs.access("/usr/sbin/ubond") then %><% end %>
<% elseif vpn == "openvpn" then %>
- <% if nixio.fs.access("/etc/init.d/openvpn") then %><% end %>
+ <% if nixio.fs.access("/etc/init.d/openvpn") then %><% end %>
<% elseif vpn == "openvpn_bonding" then %>
<% if nixio.fs.access("/etc/init.d/openvpnbonding") then %><% end %>
<%
@@ -316,12 +316,12 @@
<%
else
%>
- <% if nixio.fs.access("/usr/sbin/glorytun") then %><% end %>
- <% if nixio.fs.access("/usr/sbin/glorytun-udp") then %><% end %>
- <% if nixio.fs.access("/usr/sbin/dsvpn") then %><% end %>
- <% if nixio.fs.access("/usr/sbin/mlvpn") then %><% end %>
- <% if nixio.fs.access("/usr/sbin/ubond") then %><% end %>
- <% if nixio.fs.access("/etc/init.d/openvpn") then %><% end %>
+ <% if nixio.fs.access("/usr/sbin/glorytun") then %><% end %>
+ <% if nixio.fs.access("/usr/sbin/glorytun-udp") then %><% end %>
+ <% if nixio.fs.access("/usr/sbin/dsvpn") then %><% end %>
+ <% if nixio.fs.access("/usr/sbin/mlvpn") then %><% end %>
+ <% if nixio.fs.access("/usr/sbin/ubond") then %><% end %>
+ <% if nixio.fs.access("/etc/init.d/openvpn") then %><% end %>
<% if nixio.fs.access("/etc/init.d/openvpnbonding") then %><% end %>
<%
diff --git a/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
index dafb89b26..d51c0b33d 100644
--- a/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
+++ b/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
@@ -491,7 +491,7 @@ return view.extend({
so.datatype = 'or(ip4addr,"ignore")';
so.rmempty = true;
- so = ss.option(form.Value, 'leasetime', _('Lease time'), _('The lease time is in seconds, or minutes (eg 45m) or hours (eg 1h) or "infinite"'));
+ so = ss.option(form.Value, 'leasetime', _('Lease time'), _('The lease time is minutes (mini 2m), hours (eg 1h) or "infinite"'));
so.placeholder = '12h';
so.rmempty = true;
diff --git a/openmptcprouter/files/etc/init.d/openmptcprouter-vps b/openmptcprouter/files/etc/init.d/openmptcprouter-vps
index 05ef1c2de..0ec6b55de 100755
--- a/openmptcprouter/files/etc/init.d/openmptcprouter-vps
+++ b/openmptcprouter/files/etc/init.d/openmptcprouter-vps
@@ -467,6 +467,13 @@ _get_gre_tunnel() {
set network.omrip${i}.netmask="255.255.255.252"
set network.omrip${i}.lookup="667${i}"
commit network
+ EOF
+ allintf=$(uci -q get firewall.zone_vpn.network)
+ uci -q del firewall.zone_vpn.network
+ for intf in $allintf; do
+ uci -q add_list firewall.zone_vpn.network=$intf
+ done
+ uci -q batch <<-EOF >/dev/null
add_list firewall.zone_vpn.network="omrip${i}gre"
add_list firewall.zone_vpn.network="omrip${i}"
commit firewall