summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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