+function eth_get_bridged(except)
+ local devs = state:get("network", except, "device")
+
+ local ifs = {}
+ local cnt = 0
+ for x in devs:gmatch("[^ ]+") do
+ cnt = cnt + 1
+ if x:find("eth") == 1 then
+ ifs[#ifs+1] = x
+ end
+ end
+ return cnt > 1 and ifs or {}
+end
+