From 45725dfca6dbe6e24501712a827bbdf6f41d03e8 Mon Sep 17 00:00:00 2001 From: Anton Kikin Date: Sun, 15 Jul 2018 15:44:03 +0300 Subject: [PATCH] luci-base: network.lua: fix interface.ports() function return value Signed-off-by: Anton Kikin --- modules/luci-compat/luasrc/model/network.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/luci-compat/luasrc/model/network.lua b/modules/luci-compat/luasrc/model/network.lua index 7c88b428c..b3fc2a7c2 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 -- 2.25.1