summaryrefslogtreecommitdiffhomepage
path: root/libs/uci/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-11-10 16:02:48 +0000
committerSteven Barth <steven@midlink.org>2009-11-10 16:02:48 +0000
commit7aed1e4b9d3d608389a8b15ea800b8e75be967ef (patch)
tree9c87318822ab98bff3f91a7a8ab52618e89a6d6c /libs/uci/luasrc
parent4c08e29387ea675b230d87d4f4226b18389265cf (diff)
NIU: More pages
Diffstat (limited to 'libs/uci/luasrc')
-rw-r--r--libs/uci/luasrc/model/uci.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/uci/luasrc/model/uci.lua b/libs/uci/luasrc/model/uci.lua
index c927b4ca5..66bd0a026 100644
--- a/libs/uci/luasrc/model/uci.lua
+++ b/libs/uci/luasrc/model/uci.lua
@@ -58,7 +58,10 @@ function cursor_state()
end
-local Cursor = getmetatable(cursor())
+inst = cursor()
+inst_state = cursor_state()
+
+local Cursor = getmetatable(inst)
--- Applies UCI configuration changes
-- @param configlist List of UCI configurations