Merge branch '2.1' into develop
This commit is contained in:
@ -1151,7 +1151,7 @@ bool create_rule(void* scanner, const char* name)
|
||||
|
||||
if (ruledef && (ruledef->name = MXS_STRDUP(name)))
|
||||
{
|
||||
ruledef->type = RT_UNDEFINED;
|
||||
ruledef->type = RT_PERMISSION;
|
||||
ruledef->on_queries = FW_OP_UNDEFINED;
|
||||
ruledef->next = rstack->rule;
|
||||
ruledef->active = NULL;
|
||||
|
@ -131,6 +131,7 @@ functionlist:
|
||||
functionvalue:
|
||||
FWTOK_CMP {if (!define_function_rule(scanner, $1)){YYERROR;}}
|
||||
| FWTOK_STR {if (!define_function_rule(scanner, $1)){YYERROR;}}
|
||||
| FWTOK_BTSTR {if (!define_function_rule(scanner, $1)){YYERROR;}}
|
||||
;
|
||||
|
||||
optional:
|
||||
|
Reference in New Issue
Block a user