ubox: the validation code has problems with the "(" char. use string for now
authorJohn Crispin <john@openwrt.org>
Tue, 26 Nov 2013 07:50:05 +0000 (07:50 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 26 Nov 2013 07:50:05 +0000 (07:50 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38916

package/system/ubox/files/log.init

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