Cleanup of routeback/bridge fix

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3752 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-03-28 22:36:41 +00:00
parent 632c365644
commit b90357ee95

View File

@ -1332,11 +1332,10 @@ __EOF__
# Validate the zone names and options in the hosts file
#
validate_hosts_file() {
local z hosts options r interface host option port
local z hosts options r interface host option zports
check_bridge_port()
{
list_search $1 $ports || ports="$ports $1"
list_search ${interface}:${1} $zports || zports="$zports ${interface}:${1}"
list_search $1 $ALL_PORTS || ALL_PORTS="$ALL_PORTS $1"
}