Merge pull request #3158 from dibdot/banIP

luci-app-banip: sync with update 0.3.1
This commit is contained in:
Dirk Brenken 2019-10-09 19:05:11 +02:00 committed by GitHub
commit 9ac78d5b88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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