summaryrefslogtreecommitdiffhomepage
path: root/protocols/pptp/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-11-02 19:13:13 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-11-02 19:13:13 +0000
commitb58baed8a4787a991a39a08681d27675c604e2aa (patch)
treecba0a276cd47aeb6aaa4ddd5252c0c710621284a /protocols/pptp/luasrc
parenteea1f8b6795593c659658f4ef74ae074ee3ab740 (diff)
protocols: cast dns option to string in order to retain compatibility
Diffstat (limited to 'protocols/pptp/luasrc')
-rw-r--r--protocols/pptp/luasrc/model/cbi/admin_network/proto_pptp.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/pptp/luasrc/model/cbi/admin_network/proto_pptp.lua b/protocols/pptp/luasrc/model/cbi/admin_network/proto_pptp.lua
index 0d7ca3e4c5..fb8a9ac8a5 100644
--- a/protocols/pptp/luasrc/model/cbi/admin_network/proto_pptp.lua
+++ b/protocols/pptp/luasrc/model/cbi/admin_network/proto_pptp.lua
@@ -58,3 +58,4 @@ dns = section:taboption("advanced", DynamicList, "dns",
dns:depends("peerdns", "")
dns.datatype = "ipaddr"
+dns.cast = "string"