From: Jo-Philipp Wich Date: Fri, 27 Nov 2009 16:52:34 +0000 (+0000) Subject: modules/niu: fix possible sdk crash in overview page X-Git-Tag: 0.10.0~911 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7f9c9d208e2465e80cba92dcc8d450022a8cfd1e;p=oweals%2Fluci.git modules/niu: fix possible sdk crash in overview page --- 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