summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-compat/luasrc/model
diff options
context:
space:
mode:
authorAnton Kikin <a.kikin@tano-systems.com>2018-07-15 15:44:03 +0300
committerAnton Kikin <a.kikin@tano-systems.com>2019-12-07 22:28:17 +0300
commit45725dfca6dbe6e24501712a827bbdf6f41d03e8 (patch)
tree077def1b7d889e9a0a3c04f5eb38bd70fbca9743 /modules/luci-compat/luasrc/model
parentea6d0d2e1feb78a3237b71b559c5c7d7cf57f9d5 (diff)
luci-base: network.lua: fix interface.ports() function return value
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Diffstat (limited to 'modules/luci-compat/luasrc/model')
-rw-r--r--modules/luci-compat/luasrc/model/network.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-compat/luasrc/model/network.lua b/modules/luci-compat/luasrc/model/network.lua
index 7c88b428cc..b3fc2a7c28 100644
--- 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