From 0ad28aae805844529be5320ca50a60cebcd1f822 Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 11 Nov 2002 18:24:38 +0000 Subject: [PATCH] Correct fw->fw rule catcher git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@331 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/firewall b/Shorewall/firewall index 60ab6a3cc..e556a5a07 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -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