Revert "ubox: the validation code has problems with the "(" char. use string for...
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 28 Nov 2013 11:33:49 +0000 (11:33 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 28 Nov 2013 11:33:49 +0000 (11:33 +0000)
This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b.

SVN-Revision: 38937

package/system/ubox/files/log.init

index c171942..1c288a7 100644 (file)
@@ -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 $?
 }