Correct fw->fw rule catcher

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@331 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2002-11-11 18:24:38 +00:00
parent a511b9b485
commit 0ad28aae80

View File

@ -842,7 +842,7 @@ validate_rule() {
chain=${source}2${dest}
if [ "x$chain" = xfw2fw ]; then
if [ "x$chain" = x${FW}2${FW} ]; then
error_message "WARNING: fw -> fw rules are not supported; rule \"$rule\" ignored"
return
fi
@ -2079,7 +2079,7 @@ process_rule() {
chain=${source}2${dest}
if [ "x$chain" = xfw2fw ]; then
if [ "x$chain" = x${FW}2${FW} ]; then
error_message "WARNING: fw -> fw rules are not supported; rule \"$rule\" ignored"
return
fi