Fixed wrong value being used for users rules in dbfwfilter
A parsed, local copy of the string was duplicated instead of the original string which caused the parsing to always fail.
This commit is contained in:
parent
038877b8db
commit
b0458b3cc4
@ -1181,7 +1181,7 @@ bool parse_rule(char* rulestr, FW_INSTANCE* instance)
|
||||
else if (strcmp("users", tok) == 0)
|
||||
{
|
||||
/** Rules are applied to users after they have been parsed */
|
||||
add_users(rule, instance);
|
||||
add_users(rulestr, instance);
|
||||
rval = true;
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user