summaryrefslogtreecommitdiffhomepage
path: root/protocols/ppp/luasrc/model
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ppp/luasrc/model')
-rw-r--r--protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua1
-rw-r--r--protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua1
-rw-r--r--protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua1
3 files changed, 3 insertions, 0 deletions
diff --git a/protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua b/protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua
index 6cbdd9953..e2e44fa4c 100644
--- a/protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua
+++ b/protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua
@@ -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",
diff --git a/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua b/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua
index 9bc956a79..1e99c25a6 100644
--- a/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua
+++ b/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua
@@ -81,6 +81,7 @@ dns = section:taboption("advanced", DynamicList, "dns",
dns:depends("peerdns", "")
dns.datatype = "ipaddr"
+dns.cast = "string"
keepalive_failure = section:taboption("advanced", Value, "_keepalive_failure",
diff --git a/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua b/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua
index 6a5d3c362..72df0e43c 100644
--- a/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua
+++ b/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua
@@ -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",