summaryrefslogtreecommitdiffhomepage
path: root/modules/niu/luasrc/niulib.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-27 16:52:34 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-27 16:52:34 +0000
commit7f9c9d208e2465e80cba92dcc8d450022a8cfd1e (patch)
treef838583e0d1155e4223642143c737fff11d926b7 /modules/niu/luasrc/niulib.lua
parentbddc2053b4d020a1982c8bfb86dde5a88dc47be6 (diff)
modules/niu: fix possible sdk crash in overview page
Diffstat (limited to 'modules/niu/luasrc/niulib.lua')
-rw-r--r--modules/niu/luasrc/niulib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/niu/luasrc/niulib.lua b/modules/niu/luasrc/niulib.lua
index dc3df5ed4..73918a8ac 100644
--- a/modules/niu/luasrc/niulib.lua
+++ b/modules/niu/luasrc/niulib.lua
@@ -39,7 +39,7 @@ function eth_get_available(except)
end
function eth_get_bridged(except)
- local devs = state:get("network", except, "device")
+ local devs = state:get("network", except, "device") or ""
local ifs = {}
local cnt = 0