summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-10-12 21:45:55 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-10-12 21:45:55 +0000
commitfaab4d351f36dd897c1f2b35b6011bac680396a1 (patch)
treeaebc08128a7bfb333b24a3f78c7ca03d1b01711d
parent5e0eca99a3c1e61826dd17ce876124ca4847cdb4 (diff)
* 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
-rw-r--r--modules/admin-core/root/lib/uci/schema/default/network2
1 files changed, 1 insertions, 1 deletions
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