diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2016-01-10 13:19:34 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2016-01-10 13:19:34 +0100 |
commit | 6619e66fc9de32e7bf911b929e320ab17a414697 (patch) | |
tree | 9d3a22346b96e03167ced15667ad5fc1caa23ced /protocols/luci-proto-ipv6 | |
parent | 03a8393de0b096b8259bd12d2130fc81468b465f (diff) |
luci-proto-ipv6: allow hostnames for dslite peer addresses (#621)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'protocols/luci-proto-ipv6')
-rw-r--r-- | protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dslite.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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"), |