protocols: cast dns option to string in order to retain compatibility
[project/luci.git] / protocols / 3g / luasrc / model / cbi / admin_network / proto_3g.lua
index f14434d..d59d233 100644 (file)
@@ -97,6 +97,7 @@ dns = section:taboption("advanced", DynamicList, "dns",
 
 dns:depends("peerdns", "")
 dns.datatype = "ipaddr"
+dns.cast     = "string"
 
 
 keepalive_failure = section:taboption("advanced", Value, "_keepalive_failure",