From: blogic Date: Tue, 26 Nov 2013 07:50:05 +0000 (+0000) Subject: ubox: the validation code has problems with the "(" char. use string for now X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=a34535a5c865e38ac23acaba2a8b35dfd0bc5fe3;p=openwrt.git ubox: the validation code has problems with the "(" char. use string for now Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38916 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/system/ubox/files/log.init b/package/system/ubox/files/log.init index 1c288a7a08..c1719421f1 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:or("tcp", "udp"):udp' \ + 'log_proto:string:udp' \ 'log_prefix:string' return $? }