summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-06 22:27:03 +0000
committerSteven Barth <steven@midlink.org>2008-06-06 22:27:03 +0000
commit741f7a44f507f3dc701a9bda47f03d3e25886bed (patch)
treea6928c1504e1d2a2bf6643fb54d1ddcac769b53f
parent0092df3d17247986be0cb5f43f49547ce9c08bc4 (diff)
* Fixed typos
-rw-r--r--applications/luci-olsr/luasrc/controller/olsr.lua2
-rw-r--r--libs/uci/luasrc/model/uci.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-olsr/luasrc/controller/olsr.lua b/applications/luci-olsr/luasrc/controller/olsr.lua
index 0482a8fe7..24159b7cc 100644
--- a/applications/luci-olsr/luasrc/controller/olsr.lua
+++ b/applications/luci-olsr/luasrc/controller/olsr.lua
@@ -25,7 +25,7 @@ function index()
page.title = "MID"
page.order = 50
- entry({"admin", "services", "olsrd"}, cbi("olsr/olsrd.lua"), "OLSRd")
+ entry({"admin", "services", "olsrd"}, cbi("olsr/olsrd"), "OLSR")
end
function action_index()
diff --git a/libs/uci/luasrc/model/uci.lua b/libs/uci/luasrc/model/uci.lua
index bf7ac9315..20bc0495c 100644
--- a/libs/uci/luasrc/model/uci.lua
+++ b/libs/uci/luasrc/model/uci.lua
@@ -46,7 +46,7 @@ function delete_all(config, type, comparator)
end)
for i, j in ipairs(del) do
- uci.delete("config", j)
+ uci.delete(config, j)
end
end