git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
ea6d0d2
)
luci-base: network.lua: fix interface.ports() function return value
author
Anton Kikin
<redacted>
Sun, 15 Jul 2018 12:44:03 +0000
(15:44 +0300)
committer
Anton Kikin
<redacted>
Sat, 7 Dec 2019 19:28:17 +0000
(22:28 +0300)
Signed-off-by: Anton Kikin <redacted>
modules/luci-compat/luasrc/model/network.lua
patch
|
blob
|
history
diff --git
a/modules/luci-compat/luasrc/model/network.lua
b/modules/luci-compat/luasrc/model/network.lua
index 7c88b428cc7b321106d04499630171809b05a857..b3fc2a7c28db7ae191048431f289eee23e356835 100644
(file)
--- a/
modules/luci-compat/luasrc/model/network.lua
+++ b/
modules/luci-compat/luasrc/model/network.lua
@@
-1447,6
+1447,7
@@
function interface.ports(self)
for _, iface in ipairs(members) do
ifaces[#ifaces+1] = interface(iface)
end
+ return ifaces
end
end
git clone https://git.99rst.org/PROJECT