diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-19 18:42:06 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-19 18:42:06 +0000 |
commit | 5841fce7c69677a582c4325ed0731d3a21382e2c (patch) | |
tree | 3826f71521ec794407d842853162d80f1e0bdb7a /modules/admin-full/luasrc | |
parent | 9714667b2a9629116f279b2d6d5cd7a4e45d3815 (diff) |
modules/admin-full: allown symbolic hostnames for pptp server option
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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("<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")) |