From ae3dadd94ed753d3d0f0fdbecdc8a2ebc41a8a1d Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 19 Jun 2007 14:08:16 +0000 Subject: [PATCH] Generate error on bridges with DYNAMIC_ZONES=Yes git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6597 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Interfaces.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Shorewall-perl/Shorewall/Interfaces.pm b/Shorewall-perl/Shorewall/Interfaces.pm index 2d6cadd9b..77c6e1aea 100644 --- a/Shorewall-perl/Shorewall/Interfaces.pm +++ b/Shorewall-perl/Shorewall/Interfaces.pm @@ -245,6 +245,7 @@ sub validate_interfaces_file( $ ) fatal_error "$interface is not a defined bridge" unless $interfaces{$interface} && $interfaces{$interface}{options}{bridge}; fatal_error "Invalid Interface Name ($interface:$port)" unless $port =~ /^[\w.@%-]+\+?$/; fatal_error "Bridge Ports may only be associated with 'bport' zones" if $zone && $zoneref->{type} ne 'bport4'; + fatal_error "Bridge Ports are not compatible with DYNAMIC_ZONES=Yes" if $config{DYNAMIC_ZONES}; if ( $zone ) { if ( $zoneref->{bridge} ) {