Skip to content

Commit

Permalink
ubox: fix init script validation of log_ip option
Browse files Browse the repository at this point in the history
The underlying logread process uses usock() to handle remote connections
which is able to handle both hostnames and IP addresses.

Ref: openwrt/luci#5077
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
  • Loading branch information
jow- committed May 28, 2021
1 parent f755d81 commit ec83fb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package/system/ubox/Makefile
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=ubox
PKG_RELEASE:=1
PKG_RELEASE:=2

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/ubox.git
Expand Down
2 changes: 1 addition & 1 deletion package/system/ubox/files/log.init
Expand Up @@ -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' \
Expand Down

0 comments on commit ec83fb9

Please sign in to comment.