luci-proto-ipv6: allow hostnames for dslite peer addresses (#621)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
parent
03a8393de0
commit
6619e66fc9
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ peeraddr = section:taboption("general", Value, "peeraddr",
|
||||||
translate("DS-Lite AFTR address"))
|
translate("DS-Lite AFTR address"))
|
||||||
|
|
||||||
peeraddr.rmempty = false
|
peeraddr.rmempty = false
|
||||||
peeraddr.datatype = "ip6addr"
|
peeraddr.datatype = "or(hostname,ip6addr)"
|
||||||
|
|
||||||
ip6addr = section:taboption("general", Value, "ip6addr",
|
ip6addr = section:taboption("general", Value, "ip6addr",
|
||||||
translate("Local IPv6 address"),
|
translate("Local IPv6 address"),
|
||||||
|
|
Loading…
Reference in a new issue