From 46ae7a4fd8a91cecb6cbc45d4bcf8a04325a530c Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Wed, 9 Oct 2019 14:06:33 +0200 Subject: [PATCH] luci-app-banip: sync with update 0.3.1 * no longer filter out possible lan devices Signed-off-by: Dirk Brenken (cherry picked from commit 385db73f466e858aa9b149f34404a916b85b2722) --- .../luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua | 4 ++-- 1 file 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 4302f8606..d418ad32a 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 -- 2.25.1