summaryrefslogtreecommitdiffhomepage
path: root/protocols/core/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-04-09 09:38:33 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-04-09 09:38:33 +0000
commit7ba8d31df743ee89816693e0d56881a0adc7bfa8 (patch)
tree0c8095f3bc83e1808d71ce92c270d1fc8269bcde /protocols/core/luasrc
parent4a56b4f0091dffb0c3bce8d54b3b877d2a5dac7a (diff)
Add LuCI support for newly introduced IPv6 options
Diffstat (limited to 'protocols/core/luasrc')
-rw-r--r--protocols/core/luasrc/model/cbi/admin_network/proto_static.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/core/luasrc/model/cbi/admin_network/proto_static.lua b/protocols/core/luasrc/model/cbi/admin_network/proto_static.lua
index bc43a8d438..e700f47fbb 100644
--- a/protocols/core/luasrc/model/cbi/admin_network/proto_static.lua
+++ b/protocols/core/luasrc/model/cbi/admin_network/proto_static.lua
@@ -53,6 +53,8 @@ if luci.model.network:has_ipv6() then
ip6assign:value("64")
ip6assign.datatype = "max(64)"
+ local ip6hint = section:taboption("general", Value, "ip6hint", translate("IPv6 assignment hint"),
+ translate("Assign prefix parts using this hexadecimal subprefix ID for this interface."))
ip6addr = section:taboption("general", Value, "ip6addr", translate("IPv6 address"))
ip6addr.datatype = "ip6addr"