mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-05-10 19:14:57 +02:00
@@ -359,6 +359,11 @@ void Compiler::expandGroupsInRuleElement(RuleElement *s)
|
||||
|
||||
for(FWObject::iterator i2=cl.begin(); i2!=cl.end(); ++i2)
|
||||
{
|
||||
if (!s->validateChild(*i2))
|
||||
abort(s->getParent(),
|
||||
"Object '" + (*i2)->getName() +
|
||||
"' can not be used in rule element " + s->getTypeName());
|
||||
|
||||
s->addRef( *i2 );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user