projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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 056fc67b144fce476bb05b03913a0f060e88fd31..dfe818bcc72e7d840d7df906d44c2e04a2a1c293 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