mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-22 20:51:15 +01:00
More fixes to last large patch
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8292 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
5c530522f8
commit
097fe9bfa6
@ -916,7 +916,8 @@ setup_ecn() # $1 = file name
|
|||||||
build_exclusion_chain() # $1 = variable to store chain name into $2 = table, $3 = SOURCE exclusion list, $4 = DESTINATION exclusion list
|
build_exclusion_chain() # $1 = variable to store chain name into $2 = table, $3 = SOURCE exclusion list, $4 = DESTINATION exclusion list
|
||||||
{
|
{
|
||||||
local c
|
local c
|
||||||
c=excl_${EXCLUSION_SEQ} net
|
c=excl_${EXCLUSION_SEQ}
|
||||||
|
local net
|
||||||
|
|
||||||
EXCLUSION_SEQ=$(( $EXCLUSION_SEQ + 1 ))
|
EXCLUSION_SEQ=$(( $EXCLUSION_SEQ + 1 ))
|
||||||
|
|
||||||
@ -3389,7 +3390,8 @@ complete_standard_chain() # $1 = chain, $2 = source zone, $3 = destination zone
|
|||||||
rules_chain() # $1 = source zone, $2 = destination zone
|
rules_chain() # $1 = source zone, $2 = destination zone
|
||||||
{
|
{
|
||||||
local chain
|
local chain
|
||||||
chain=${1}2${2} local policy
|
chain=${1}2${2}
|
||||||
|
local policy
|
||||||
|
|
||||||
havechain $chain && { echo $chain; return; }
|
havechain $chain && { echo $chain; return; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user