luci-app-olsr: handle empty result for non-status tables
[oweals/luci.git] / protocols / luci-proto-ipv6 / luasrc / model / cbi / admin_network / proto_dhcpv6.lua
index c843161c6f4d6839efeffa8be037c1fb36fa9ec5..49281ee41d78b95be906bf950343b649580eba86 100644 (file)
@@ -14,7 +14,7 @@ o.default = "try"
 
 o = section:taboption("general", Value, "reqprefix",
        translate("Request IPv6-prefix of length"))
-o:value("auto", translate("automatic"))
+o:value("auto", translate("Automatic"))
 o:value("no", translate("disabled"))
 o:value("48")
 o:value("52")
@@ -38,7 +38,7 @@ o.default = o.enabled
 
 o = section:taboption("advanced", Value, "ip6prefix",
        translate("Custom delegated IPv6-prefix"))
-o.dataype = "ip6addr"
+o.dataype = "list(ip6addr)"
 
 
 o = section:taboption("advanced", DynamicList, "dns",