From 3a962b70993c5ed1d96bfb851ea6719400fb6a72 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 28 Nov 2013 11:33:49 +0000 Subject: Revert "ubox: the validation code has problems with the "(" char. use string for now" This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38937 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/system/ubox/files/log.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/system/ubox') diff --git a/package/system/ubox/files/log.init b/package/system/ubox/files/log.init index c1719421f1..1c288a7a08 100644 --- a/package/system/ubox/files/log.init +++ b/package/system/ubox/files/log.init @@ -15,7 +15,7 @@ validate_log_section() 'log_size:uinteger' \ 'log_ip:ipaddr' \ 'log_port:port:514' \ - 'log_proto:string:udp' \ + 'log_proto:or("tcp", "udp"):udp' \ 'log_prefix:string' return $? } -- cgit v1.2.3