[solved] LuCI host datatype parameter: host(1)

In luci-app-watchcat it is using host(1) as a datatype. What is the (1) parameter supposed to mean? I did not see anything in the documentation. I would guess it could mean only one host is allowed, but just want to confirm.

Here's the line
pinghost.datatype = "host(1)"

Here's the documentation


Verify if the value is a valid hostname or IP address.

Example: openwrt.domain.local

ipv4only (so that ipv6 address does not match)


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.