summaryrefslogtreecommitdiffhomepage
path: root/protocols/6x4/luasrc/model/network
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-06-21 15:28:39 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-06-21 15:28:39 +0000
commita00b558210c84cb592349216a40318261e693cc2 (patch)
treeeae1fcbc1b0a6d53d20eb3be130b85cde1a106a8 /protocols/6x4/luasrc/model/network
parent5898a32f557c7d7542734546eb6853f9b2c64f02 (diff)
6rd configuration support.
Signed-off-by: Stéphan Kochen <stephan@kochen.nl>
Diffstat (limited to 'protocols/6x4/luasrc/model/network')
-rw-r--r--protocols/6x4/luasrc/model/network/proto_6x4.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/protocols/6x4/luasrc/model/network/proto_6x4.lua b/protocols/6x4/luasrc/model/network/proto_6x4.lua
index 63735f6f8e..b800b0b540 100644
--- a/protocols/6x4/luasrc/model/network/proto_6x4.lua
+++ b/protocols/6x4/luasrc/model/network/proto_6x4.lua
@@ -1,5 +1,5 @@
--[[
-LuCI - Network model - 6to4 & 6in4 protocol extension
+LuCI - Network model - 6to4, 6in4 & 6rd protocol extensions
Copyright 2011 Jo-Philipp Wich <xm@subsignal.org>
@@ -20,7 +20,7 @@ limitations under the License.
local netmod = luci.model.network
local _, p
-for _, p in ipairs({"6in4", "6to4"}) do
+for _, p in ipairs({"6in4", "6to4", "6rd"}) do
local proto = netmod:register_protocol(p)
@@ -28,7 +28,9 @@ for _, p in ipairs({"6in4", "6to4"}) do
if p == "6in4" then
return luci.i18n.translate("IPv6-in-IPv4 (RFC4213)")
elseif p == "6to4" then
- return luci.i18n.translate("IPv6-over-IPv4")
+ return luci.i18n.translate("IPv6-over-IPv4 (6to4)")
+ elseif p == "6rd" then
+ return luci.i18n.translate("IPv6-over-IPv4 (6rd)")
end
end