mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
luci-base: network.lua: fix interface.ports() function return value
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
This commit is contained in:
@@ -1447,6 +1447,7 @@ function interface.ports(self)
|
||||
for _, iface in ipairs(members) do
|
||||
ifaces[#ifaces+1] = interface(iface)
|
||||
end
|
||||
return ifaces
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user