From b0458b3cc4fd860e2a69cf1364f4c2599b3f3bae Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Wed, 25 Nov 2015 17:39:18 +0200 Subject: [PATCH] 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. --- server/modules/filter/dbfwfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/dbfwfilter.c b/server/modules/filter/dbfwfilter.c index e960b255f..2b51267db 100644 --- a/server/modules/filter/dbfwfilter.c +++ b/server/modules/filter/dbfwfilter.c @@ -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