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:
parent
a96d6dfd8b
commit
3209044b22
@ -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):
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user