ubox: fix init script validation of log_ip option
authorJo-Philipp Wich <jo@mein.io>
Fri, 28 May 2021 13:23:14 +0000 (15:23 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 28 May 2021 13:25:31 +0000 (15:25 +0200)
commit0bc3f51aa650ec9fea995233714219d2cb63f53c
treeb04c59e73d1a2326e13040e7b0128ae3e0297d08
parent16ccf888ee70c65aa4943641e4b8e74e52dc1930
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>
(cherry picked from commit ec83fb9ced138b7945135adffb9ff0ba63b695ec)
package/system/ubox/Makefile
package/system/ubox/files/log.init