protocols: cast dns option to string in order to retain compatibility
[project/luci.git] / protocols / ppp / luasrc / model / cbi / admin_network / proto_pppoe.lua
index 6a5d3c3..72df0e4 100644 (file)
@@ -75,6 +75,7 @@ dns = section:taboption("advanced", DynamicList, "dns",
 
 dns:depends("peerdns", "")
 dns.datatype = "ipaddr"
+dns.cast     = "string"
 
 
 keepalive_failure = section:taboption("advanced", Value, "_keepalive_failure",