luci-app-banip: sync with update 0.3.1
* no longer filter out possible lan devices
Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 385db73f46
)
This commit is contained in:
parent
8d2b0ad9eb
commit
46ae7a4fd8
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue