From: Jo-Philipp Wich Date: Wed, 19 Jan 2011 18:42:06 +0000 (+0000) Subject: modules/admin-full: allown symbolic hostnames for pptp server option X-Git-Tag: 0.11.0~2355 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5841fce7c69677a582c4325ed0731d3a21382e2c;p=oweals%2Fluci.git modules/admin-full: allown symbolic hostnames for pptp server option --- 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 1b0662fbb..30254b4b9 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"))