diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-27 16:52:34 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-27 16:52:34 +0000 |
commit | 7f9c9d208e2465e80cba92dcc8d450022a8cfd1e (patch) | |
tree | f838583e0d1155e4223642143c737fff11d926b7 /modules | |
parent | bddc2053b4d020a1982c8bfb86dde5a88dc47be6 (diff) |
modules/niu: fix possible sdk crash in overview page
Diffstat (limited to 'modules')
-rw-r--r-- | modules/niu/luasrc/niulib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/niu/luasrc/niulib.lua b/modules/niu/luasrc/niulib.lua index dc3df5ed43..73918a8ac7 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 |