Fix for RFC1918_STRICT=Yes

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6109 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-04-24 21:36:10 +00:00
parent 558343be7d
commit 7a166b7ba7

View File

@ -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";
}