summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-01-22 10:44:16 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-01-22 10:44:16 +0000
commita4f3f52d1c5932633be3b58996f9b719120d0717 (patch)
tree8c24d7f5e56f74943af7b43ad034607a58ae1766 /modules/admin-full/luasrc/controller
parent07c2268d72daae5b7160d3f0ecc1eeeafc86601e (diff)
New IPv6 integration
Diffstat (limited to 'modules/admin-full/luasrc/controller')
-rw-r--r--modules/admin-full/luasrc/controller/admin/network.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua
index f401ecd185..54afa1b380 100644
--- a/modules/admin-full/luasrc/controller/admin/network.lua
+++ b/modules/admin-full/luasrc/controller/admin/network.lua
@@ -138,6 +138,13 @@ function index()
page.order = 40
end
+ if nixio.fs.access("/etc/config/6relayd") then
+ page = node("admin", "network", "ipv6")
+ page.target = cbi("admin_network/ipv6")
+ page.title = _("IPv6 RA and DHCPv6")
+ page.order = 45
+ end
+
page = node("admin", "network", "routes")
page.target = cbi("admin_network/routes")
page.title = _("Static Routes")