modules/admin-full: allown symbolic hostnames for pptp server option
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 19 Jan 2011 18:42:06 +0000 (18:42 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 19 Jan 2011 18:42:06 +0000 (18:42 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua

index 1b0662f..30254b4 100644 (file)
@@ -240,7 +240,7 @@ mtu.placeholder = 1500
 srv = s:taboption("general", Value, "server", translate("<abbr title=\"Point-to-Point Tunneling Protocol\">PPTP</abbr>-Server"))
 srv:depends("proto", "pptp")
 srv.optional = false
-srv.datatype = "ip4addr"
+srv.datatype = "host"
 
 if has_6in4 then
        peer = s:taboption("general", Value, "peeraddr", translate("Server IPv4-Address"))