projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modules/admin-full: ... and another issue, also remove wifi up workaround, its done...
[project/luci.git]
/
modules
/
admin-full
/
luasrc
/
model
/
cbi
/
admin_network
/
ifaces.lua
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
5b298ea
..
4b2b88b
100644
(file)
--- 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