From 497c3059ea66c79e2987fdeee2b8e135a973eeea Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Fri, 18 Jun 2021 16:03:24 +0200 Subject: [PATCH] Fix to support existing deny link::mask syntax as well. --- src/conf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index 64eda1bc1..3723bbee3 100644 --- a/src/conf.c +++ b/src/conf.c @@ -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)