diff options
author | Dirk Brenken <dev@brenken.org> | 2019-10-09 14:06:33 +0200 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2019-10-09 14:06:33 +0200 |
commit | 385db73f466e858aa9b149f34404a916b85b2722 (patch) | |
tree | eb3dc3923f3e87d98b7e169315738a21980b8a25 /applications/luci-app-banip/luasrc/model/cbi/banip | |
parent | 8343e58d7fb94bddb3fa5fb5308b1344021710c0 (diff) |
luci-app-banip: sync with update 0.3.1
* no longer filter out possible lan devices
Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-banip/luasrc/model/cbi/banip')
-rw-r--r-- | applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua | 4 |
1 files changed, 2 insertions, 2 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 4302f86063..d418ad32af 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 @@ -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 |