Allow empty BP zones -- first step toward dynamic BP zones -- take 2

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6605 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-06-19 22:43:24 +00:00
parent 91490ebc4a
commit dae9ee1baf

View File

@ -107,6 +107,8 @@ add_to_zone() # $1...${n-1} = <interface>[:<hosts>] $n = zone
[ "$zone" = $FW ] && startup_error "Can't add $1 to firewall zone"
list_search $zone $BPORT_ZONES && startup_error "Bridge Port zones may not be dynamically modified"
#
# Be sure that Shorewall has been restarted using a DZ-aware version of the code
#