From 7a166b7ba7f43c5090075010fc8c2a4e96062e1c Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 24 Apr 2007 21:36:10 +0000 Subject: [PATCH] Fix for RFC1918_STRICT=Yes git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6109 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 a4b2f441a..850648a5d 100644 --- a/Shorewall-perl/Shorewall/Rules.pm +++ b/Shorewall-perl/Shorewall/Rules.pm @@ -216,7 +216,7 @@ sub setup_rfc1918_filteration( $ ) { } elsif ( $target eq 'DROP' ) { $s_target = 'DROP'; } elsif ( $target eq 'RETURN' ) { - $s_target = $config{RFC1918_LOG_LEVEL} ? 'rfc1918d' : 'RETURN'; + $s_target = $config{RFC1918_STRICT} ? 'rfc1918d' : 'RETURN'; } else { fatal_error "Invalid target ($target) for $networks"; }