summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-11-17 16:57:55 +0100
committerGitHub <noreply@github.com>2018-11-17 16:57:55 +0100
commit18c6544057c6c26e2ccfdfcd0a9052d3a82b788a (patch)
tree8299313f519a6912bd1bc4e8eda8221d90f79243 /applications
parente5f9e3ff25418f4bea774a9bc748d24020725483 (diff)
parentbef7d98bd63a2f1e420883c052c3ca43c19d9bd9 (diff)
Merge pull request #2299 from dibdot/banip
luci-app-banip: sync with update 0.0.6
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua b/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua
index 00bb5e4262..8b5bedc089 100644
--- a/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua
+++ b/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua
@@ -27,7 +27,8 @@ o2 = s:option(Flag, "ban_automatic", translate("Automatic WAN Interface Detectio
o2.default = o2.enabled
o2.rmempty = false
-o3 = s:option(ListValue, "ban_iface", " ")
+o3 = s:option(MultiValue, "ban_iface", translate("Interface Selection"),
+ translate("Disable the automatic WAN detection and select your preferred interface(s) manually."))
for _, dev in ipairs(devices) do
if dev ~= "lo" and dev ~= "br-lan" then
local iface = net:get_interface(dev)
@@ -42,6 +43,7 @@ for _, dev in ipairs(devices) do
end
end
end
+o3.widget = "checkbox"
o3.default = ban_iface
o3.rmempty = false