From 5841fce7c69677a582c4325ed0731d3a21382e2c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 19 Jan 2011 18:42:06 +0000 Subject: modules/admin-full: allown symbolic hostnames for pptp server option --- modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua index 1b0662fbbb..30254b4b99 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua @@ -240,7 +240,7 @@ mtu.placeholder = 1500 srv = s:taboption("general", Value, "server", translate("PPTP-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")) -- cgit v1.2.3