luci-mod-system: validate log_ip as "host" instead of just ipaddr
Fixes FS#2444
A replicate of commit 90051b685
on master branch
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
50788da24e
commit
a32190c0b2
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ o.datatype = "uinteger"
|
|||
o = s:taboption("logging", Value, "log_ip", translate("External system log server"))
|
||||
o.optional = true
|
||||
o.placeholder = "0.0.0.0"
|
||||
o.datatype = "ip4addr"
|
||||
o.datatype = "host"
|
||||
|
||||
o = s:taboption("logging", Value, "log_port", translate("External system log server port"))
|
||||
o.optional = true
|
||||
|
|
Loading…
Reference in a new issue