1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2025-10-16 15:38:43 +02:00

see #2635 Object type AttachedNetworks is not allowed in the

"interface" rule element.
This commit is contained in:
Vadim Kurland 2011-08-05 20:58:37 -07:00
parent a96d6dfd8b
commit 3209044b22
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-08-05 Vadim Kurland <vadim@netcitadel.com>
* RuleElement.cpp (RuleElementItf::validateChild): see #2635
Object type AttachedNetworks is not allowed in the "interface"
rule element.
2011-08-03 Vadim Kurland <vadim@netcitadel.com>
* newFirewallDialog_from_template.cpp (replaceReferencesToObject):

View File

@ -267,7 +267,7 @@ bool RuleElementItf::validateChild(FWObject *o)
if (Interface::cast(o)!=NULL) return true;
if (ObjectGroup::cast(o)!=NULL)
if (ObjectGroup::cast(o)!=NULL && o->size() > 0)
{
bool all_intf = true;
for (FWObject::iterator i=o->begin(); i!=o->end(); ++i)