mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 17:58:07 +02:00
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:
parent
632c365644
commit
b90357ee95
@ -1332,11 +1332,10 @@ __EOF__
|
|||||||
# Validate the zone names and options in the hosts file
|
# Validate the zone names and options in the hosts file
|
||||||
#
|
#
|
||||||
validate_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()
|
check_bridge_port()
|
||||||
{
|
{
|
||||||
list_search $1 $ports || ports="$ports $1"
|
|
||||||
list_search ${interface}:${1} $zports || zports="$zports ${interface}:${1}"
|
list_search ${interface}:${1} $zports || zports="$zports ${interface}:${1}"
|
||||||
list_search $1 $ALL_PORTS || ALL_PORTS="$ALL_PORTS $1"
|
list_search $1 $ALL_PORTS || ALL_PORTS="$ALL_PORTS $1"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user