Fix to support existing deny link::mask syntax as well.

This commit is contained in:
Bram Matthys 2021-06-18 16:03:24 +02:00
parent 5d6738b3e8
commit 497c3059ea
No known key found for this signature in database
GPG key ID: BF8116B163EAAE98

View file

@ -10143,7 +10143,10 @@ int _test_deny(ConfigFile *conf, ConfigEntry *ce)
errors++;
continue;
}
else if (!strcmp(cep->ce_varname, "rule"))
else if (!strcmp(cep->ce_varname, "mask"))
{
has_mask = 1;
} else if (!strcmp(cep->ce_varname, "rule"))
{
int val = 0;
if (has_rule)