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:26:31 +0000 (15:26 +0200)
commit1153773c78d39d518b592f7b77180f370bcd4a60
treed17742a7b31146c1a8984efc7a97888a84c9dafe
parenta1ee0ebbd8e9927a65c5d1e0db497dd118d559a6
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>
(backported from commit ec83fb9ced138b7945135adffb9ff0ba63b695ec)
package/system/ubox/Makefile
package/system/ubox/files/log.init