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:
Markus Makela 2015-11-25 17:39:18 +02:00
parent 038877b8db
commit b0458b3cc4

View File

@ -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