summaryrefslogtreecommitdiffhomepage
path: root/modules/niu/luasrc/controller
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-10-27 16:47:42 +0000
committerSteven Barth <steven@midlink.org>2009-10-27 16:47:42 +0000
commit6122dc723a36ec88e18949d93f3ec50c36eab4b8 (patch)
tree6ab5115005c794026dd19f67c19ddca27d3e1b0f /modules/niu/luasrc/controller
parent92bbfc8ca837a6c447fc8402789123cfa81c92ed (diff)
NIU: More LAN settings, initial WAN
Diffstat (limited to 'modules/niu/luasrc/controller')
-rw-r--r--modules/niu/luasrc/controller/niu/network.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/niu/luasrc/controller/niu/network.lua b/modules/niu/luasrc/controller/niu/network.lua
index 11f87fc3c7..b17e6e760f 100644
--- a/modules/niu/luasrc/controller/niu/network.lua
+++ b/modules/niu/luasrc/controller/niu/network.lua
@@ -18,5 +18,10 @@ module "luci.controller.niu.network"
function index()
entry({"niu", "network"}, alias("admin", "network"), "Network")
.dbtemplate = "niu/network"
- entry({"niu", "network", "lan"}, cbi("niu/network/lan"), "Configure LAN")
+
+ entry({"niu", "network", "lan"},
+ cbi("niu/network/lan", {on_success_to={"niu"}}), "Configure LAN")
+
+ entry({"niu", "network", "wan"},
+ cbi("niu/network/wan", {on_success_to={"niu"}}), "Configure Internet")
end