luci-0.10: merge r6755
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 19 Jan 2011 18:42:51 +0000 (18:42 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 19 Jan 2011 18:42:51 +0000 (18:42 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua

index 1b0662fbbbb0c1adc5e8cd4f107b0bb80380e880..30254b4b994c5f002026f3ccee2c2068071cc33a 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"))