From faab4d351f36dd897c1f2b35b6011bac680396a1 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 12 Oct 2008 21:45:55 +0000 Subject: [PATCH] * 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 --- modules/admin-core/root/lib/uci/schema/default/network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1