From: jow 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: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=6209089f8dcb5eec5ddc85f2ccafb947858081f9;ds=inline 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 --- 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 $? }