modules: verify: use conf_verify_unsigned() for options that should be >= 0

This commit is contained in:
Daniel Eklöf 2021-11-15 18:17:29 +01:00
parent b6931c6ed0
commit f166bbbf54
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
7 changed files with 13 additions and 13 deletions

View file

@ -616,7 +616,7 @@ verify_conf(keychain_t *chain, const struct yml_node *node)
{
static const struct attr_info attrs[] = {
{"host", true, &conf_verify_string},
{"port", false, &conf_verify_int},
{"port", false, &conf_verify_unsigned},
MODULE_COMMON_ATTRS,
};