protocols: cast dns option to string in order to retain compatibility
[project/luci.git] / protocols / core / luasrc / model / cbi / admin_network / proto_static.lua
index 3c9b14b..7c9d8e8 100644 (file)
@@ -42,6 +42,7 @@ dns = section:taboption("general", DynamicList, "dns",
        translate("Use custom DNS servers"))
 
 dns.datatype = "ipaddr"
+dns.cast     = "string"
 
 
 if luci.model.network:has_ipv6() then