diff options
-rwxr-xr-x | lib/Vyatta/Zone.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Vyatta/Zone.pm b/lib/Vyatta/Zone.pm index 4b169b5..aca317a 100755 --- a/lib/Vyatta/Zone.pm +++ b/lib/Vyatta/Zone.pm @@ -186,7 +186,9 @@ sub validity_checks { if ($intf) { my $config = new Vyatta::Config; $config->setLevel($intf->path()); - if ($config->exists("firewall")) { + if ($config->exists("firewall in name") || + $config->exists("firewall out name") || + $config->exists("firewall local name")) { $returnstring = "interface $interface has firewall configured, " . "cannot be defined under a zone"; |