summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mwan3/luasrc/model
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-mwan3/luasrc/model')
-rw-r--r--applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua
index aa08d25f6..33faa1523 100644
--- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua
+++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua
@@ -3,7 +3,7 @@
local net = require "luci.model.network".init()
-local s, m, local_source, mask, rtmon
+local s, m, local_source, mask, rtmon, rtlookup
m = Map("mwan3", translate("MWAN - Globals"))
@@ -43,4 +43,13 @@ rtmon:value("5", translatef("%d seconds", 5))
rtmon:value("7", translatef("%d seconds", 7))
rtmon:value("10", translatef("%d seconds", 10))
+rtlookup = s:option(DynamicList,
+ "rt_table_lookup",
+ translate("Routing table lookup"),
+ translate("Also scan this Routing table for connected networks"))
+rtlookup.datatype = "integer"
+rtlookup:value("1", translatef("Routing table %d", 1))
+rtlookup:value("2", translatef("Routing table %d", 2))
+rtlookup:value("220", translatef("Routing table %d", 220))
+
return m