diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-05-28 15:23:14 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-05-28 15:23:14 +0200 |
commit | ec83fb9ced138b7945135adffb9ff0ba63b695ec (patch) | |
tree | dee6f0482917a56a9014e066078f506e196f1c6b /package/system/ubox/files/log.init | |
parent | f755d81999b1745bc156ac53f10e8043c9def3de (diff) | |
download | upstream-ec83fb9ced138b7945135adffb9ff0ba63b695ec.tar.gz upstream-ec83fb9ced138b7945135adffb9ff0ba63b695ec.tar.bz2 upstream-ec83fb9ced138b7945135adffb9ff0ba63b695ec.zip |
ubox: fix init script validation of log_ip option
The underlying logread process uses usock() to handle remote connections
which is able to handle both hostnames and IP addresses.
Ref: https://github.com/openwrt/luci/issues/5077
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/system/ubox/files/log.init')
-rw-r--r-- | package/system/ubox/files/log.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/ubox/files/log.init b/package/system/ubox/files/log.init index 250f805b44..c4802d4199 100644 --- a/package/system/ubox/files/log.init +++ b/package/system/ubox/files/log.init @@ -15,7 +15,7 @@ validate_log_section() 'log_file:string' \ 'log_size:uinteger' \ 'log_hostname:string' \ - 'log_ip:ipaddr' \ + 'log_ip:host' \ 'log_remote:bool:1' \ 'log_port:port:514' \ 'log_proto:or("tcp", "udp"):udp' \ |