From 7f9c9d208e2465e80cba92dcc8d450022a8cfd1e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 27 Nov 2009 16:52:34 +0000 Subject: modules/niu: fix possible sdk crash in overview page --- modules/niu/luasrc/niulib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 -- cgit v1.2.3