diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-09-25 23:08:47 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-09-25 23:08:47 +0000 |
commit | 730b2b0d07bfa2c8aeeb8877aaf2444e5ccbc7a4 (patch) | |
tree | 6b3b81bbbc950c05a39e14caa790c3b5db9b1dde /modules/admin-full/luasrc/model | |
parent | 8eb93354138685a83a3ae9994be770ceb63bf9fe (diff) |
modules/admin-full: ... and another issue, also remove wifi up workaround, its done by "ifup" now
Diffstat (limited to 'modules/admin-full/luasrc/model')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua index 5b298ea12d..4b2b88b147 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua @@ -157,7 +157,7 @@ function ifname_single.write(self, s, val) local new_ifs = { } local old_ifs = { } - for _, i in ipairs(n:get_interfaces()) do + for _, i in ipairs(n:get_interfaces() or { n:get_interface() }) do old_ifs[#old_ifs+1] = i:name() end |