From 6619e66fc9de32e7bf911b929e320ab17a414697 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 10 Jan 2016 13:19:34 +0100 Subject: [PATCH] luci-proto-ipv6: allow hostnames for dslite peer addresses (#621) Signed-off-by: Jo-Philipp Wich --- .../luasrc/model/cbi/admin_network/proto_dslite.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dslite.lua b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dslite.lua index 9069ff087..eca9750ad 100644 --- a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dslite.lua +++ b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dslite.lua @@ -14,7 +14,7 @@ peeraddr = section:taboption("general", Value, "peeraddr", translate("DS-Lite AFTR address")) peeraddr.rmempty = false -peeraddr.datatype = "ip6addr" +peeraddr.datatype = "or(hostname,ip6addr)" ip6addr = section:taboption("general", Value, "ip6addr", translate("Local IPv6 address"), -- 2.25.1