luci-app-banip: sync with update 0.3.1 3158/head
authorDirk Brenken <dev@brenken.org>
Wed, 9 Oct 2019 12:06:33 +0000 (14:06 +0200)
committerDirk Brenken <dev@brenken.org>
Wed, 9 Oct 2019 12:06:33 +0000 (14:06 +0200)
* no longer filter out possible lan devices

Signed-off-by: Dirk Brenken <dev@brenken.org>
applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua

index 4302f86063c15904dfc8041701550ca1c20c8f1c..d418ad32af64ec042a323bf836a3650bce7cbd8d 100644 (file)
@@ -30,9 +30,9 @@ o3 = s:option(MultiValue, "ban_iface", translate("Manual WAN Interface Selection
 if dump then
        local i, v
        for i, v in ipairs(dump.interface) do
-               if v.interface ~= "loopback" and v.interface ~= "lan" then
+               if v.interface ~= "loopback" then
                        local device = v.l3_device or v.device or "-"
-                       o3:value(v.interface, v.interface.. " (" ..device.. ")")
+                       o3:value(v.interface, " " .. v.interface .. " (" .. device .. ") ")
                end
        end
 end