From: Jo-Philipp Wich Date: Thu, 28 Nov 2013 11:33:49 +0000 (+0000) Subject: Revert "ubox: the validation code has problems with the "(" char. use string for... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cdbff3641b2fdf86f7d4ea2790599f786bd5dbdf;p=openwrt%2Fstaging%2F981213.git Revert "ubox: the validation code has problems with the "(" char. use string for now" This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b. SVN-Revision: 38937 --- 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 $? }