luci-mod-network: switch to client side interface configuration pages
[project/luci.git] / protocols / luci-proto-ipv6 / luasrc / model / cbi / admin_network / proto_dslite.lua
index 9069ff08705cc5fe0dc402f975280475d719d059..eca9750adbede5c60f43d006b7413a4a1edd1d9a 100644 (file)
@@ -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"),