mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 19:01:19 +01:00
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:
parent
91490ebc4a
commit
dae9ee1baf
@ -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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user