projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
90ed423
)
luci-base/network.lua: fix get_interface function
1709/head
author
Dirk Brenken
<dev@brenken.org>
Sat, 31 Mar 2018 05:06:52 +0000
(07:06 +0200)
committer
Dirk Brenken
<dev@brenken.org>
Sat, 31 Mar 2018 05:11:02 +0000
(07:11 +0200)
* fix wrong private function call to handle
section id as parameter (fix for #1687)
Signed-off-by: Dirk Brenken <dev@brenken.org>
modules/luci-base/luasrc/model/network.lua
patch
|
blob
|
history
diff --git
a/modules/luci-base/luasrc/model/network.lua
b/modules/luci-base/luasrc/model/network.lua
index
056fc67
..
dfe818b
100644
(file)
--- a/
modules/luci-base/luasrc/model/network.lua
+++ b/
modules/luci-base/luasrc/model/network.lua
@@
-629,7
+629,7
@@
function get_interface(self, i)
if _interfaces[i] or _wifi_iface(i) then
return interface(i)
else
- local netid = _wifi_netid_by_
netname
(i)
+ local netid = _wifi_netid_by_
sid
(i)
return netid and interface(netid)
end
end