summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-10-10 15:59:46 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-10-10 15:59:46 +0000
commitf3bcaf2909db80ec4bc0ee4ea5141d3e46176994 (patch)
treee1feda027855dcfa84a6b3819370f0993e636512 /modules/admin-full/luasrc/controller
parent54f1cfe729621ef18fb9e450a2389ab6db4f1f7c (diff)
modules/admin-full: prepare iface join wizzard
Diffstat (limited to 'modules/admin-full/luasrc/controller')
-rw-r--r--modules/admin-full/luasrc/controller/admin/network.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua
index 12dd559bc..28ee82e65 100644
--- a/modules/admin-full/luasrc/controller/admin/network.lua
+++ b/modules/admin-full/luasrc/controller/admin/network.lua
@@ -51,6 +51,9 @@ function index()
page.leaf = true
page.subindex = true
+ local page = entry({"admin", "network", "add"}, cbi("admin_network/iface_add"), nil)
+ page.leaf = true
+
uci:foreach("network", "interface",
function (section)
local ifc = section[".name"]