mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 12:14:32 +01:00
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:
parent
558343be7d
commit
7a166b7ba7
@ -216,7 +216,7 @@ sub setup_rfc1918_filteration( $ ) {
|
|||||||
} elsif ( $target eq 'DROP' ) {
|
} elsif ( $target eq 'DROP' ) {
|
||||||
$s_target = 'DROP';
|
$s_target = 'DROP';
|
||||||
} elsif ( $target eq 'RETURN' ) {
|
} elsif ( $target eq 'RETURN' ) {
|
||||||
$s_target = $config{RFC1918_LOG_LEVEL} ? 'rfc1918d' : 'RETURN';
|
$s_target = $config{RFC1918_STRICT} ? 'rfc1918d' : 'RETURN';
|
||||||
} else {
|
} else {
|
||||||
fatal_error "Invalid target ($target) for $networks";
|
fatal_error "Invalid target ($target) for $networks";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user