From: Jo-Philipp Wich Date: Sun, 12 Oct 2008 21:45:55 +0000 (+0000) Subject: * luci/modules/admin-core: change datatype for server option to "host" in network... X-Git-Tag: 0.9.0~1113 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=faab4d351f36dd897c1f2b35b6011bac680396a1 * luci/modules/admin-core: change datatype for server option to "host" in network scheme, this bug prevented the validation of pptp configs when a hostname was used as pptp server --- diff --git a/modules/admin-core/root/lib/uci/schema/default/network b/modules/admin-core/root/lib/uci/schema/default/network index 9e9de253d..11d3838fa 100644 --- a/modules/admin-core/root/lib/uci/schema/default/network +++ b/modules/admin-core/root/lib/uci/schema/default/network @@ -119,7 +119,7 @@ config variable option name 'server' option title 'PPTP server' option section 'network.interface' - option datatype 'ipaddr' + option datatype 'host' list depends 'proto=pptp' config variable