projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9fa385a
)
libs/core: fix undefined tostring() in network model
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 5 Dec 2011 19:36:50 +0000
(19:36 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 5 Dec 2011 19:36:50 +0000
(19:36 +0000)
libs/core/luasrc/model/network.lua
patch
|
blob
|
history
diff --git
a/libs/core/luasrc/model/network.lua
b/libs/core/luasrc/model/network.lua
index
aaa3908
..
d682aa9
100644
(file)
--- a/
libs/core/luasrc/model/network.lua
+++ b/
libs/core/luasrc/model/network.lua
@@
-17,8
+17,11
@@
limitations under the License.
]]--
]]--
-local type, next, pairs, ipairs, loadfile, table, tonumber, math, i18n
- = type, next, pairs, ipairs, loadfile, table, tonumber, math, luci.i18n
+local type, next, pairs, ipairs, loadfile, table
+ = type, next, pairs, ipairs, loadfile, table
+
+local tonumber, tostring, math, i18n
+ = tonumber, tostring, math, luci.i18n
local require = require
local require = require