summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-10-30 20:12:13 +0100
committerGitHub <noreply@github.com>2018-10-30 20:12:13 +0100
commit1c076cd26dde1d510658e8cb7cb2ca0ba0205a82 (patch)
tree449abcb2ee25382df64665bacc4fd938fd610c13
parent111ebe2f62f28f3aa1fa038983e7d0b65e9df46c (diff)
parent0b63c2239954e54571c1f081ab99a55e3f291ce7 (diff)
Merge pull request #2253 from dibdot/travelmate
luci-app-travelmate: sync with travelmate 1.3.0
-rw-r--r--applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua13
1 files changed, 9 insertions, 4 deletions
diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua
index 9ba4cf3bf..e98cde719 100644
--- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua
+++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua
@@ -65,18 +65,23 @@ o2 = s:option(Flag, "trm_captive", translate("Captive Portal Detection"),
o2.default = o2.enabled
o2.rmempty = false
-o3 = s:option(ListValue, "trm_iface", translate("Uplink / Trigger interface"),
+o3 = s:option(Flag, "trm_proactive", translate("ProActive Uplink Switch"),
+ translate("Proactively scan and switch to a higher prioritized uplink, despite of an already existing connection."))
+o3.default = o3.enabled
+o3.rmempty = false
+
+o4 = s:option(ListValue, "trm_iface", translate("Uplink / Trigger interface"),
translate("Name of the used uplink interface."))
if dump then
local i, v
for i, v in ipairs(dump.interface) do
if v.interface ~= "loopback" and v.interface ~= "lan" then
- o3:value(v.interface)
+ o4:value(v.interface)
end
end
end
-o3.default = trmiface
-o3.rmempty = false
+o4.default = trmiface
+o4.rmempty = false
-- Runtime information