From d00f52f933b85798131eb7671132217432e1d08c Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 31 Mar 2009 22:42:49 +0000 Subject: [PATCH] Fix run-time error in Shorewall::process_rules1() git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9771 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/Perl/Shorewall/Rules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index f26eb28ec..08f8bab4d 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -1346,7 +1346,7 @@ sub process_rule1 ( $$$$$$$$$$$$$ ) { $origdest = $interfaces ? "detect:$interfaces" : ALLIP; } - expand_rule( ensure_chain ('nat' , $sourceref->{type} == 'FIREWALL' ? 'OUTPUT' : dnat_chain $sourcezone) , + expand_rule( ensure_chain ('nat' , $sourceref->{type} == FIREWALL ? 'OUTPUT' : dnat_chain $sourcezone) , PREROUTE_RESTRICT , $rule , $source ,