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 $? }