mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-26 01:23:14 +01:00
Rename SMALL_MASK to SMALL_MAX
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
4b14924b99
commit
242080c59c
@ -4855,7 +4855,7 @@ sub validate_mark( $ ) {
|
|||||||
|
|
||||||
sub verify_small_mark( $ ) {
|
sub verify_small_mark( $ ) {
|
||||||
my $val = validate_mark ( (my $mark) = $_[0] );
|
my $val = validate_mark ( (my $mark) = $_[0] );
|
||||||
fatal_error "Mark value ($mark) too large" if numeric_value( $mark ) > $globals{SMALL_MASK};
|
fatal_error "Mark value ($mark) too large" if numeric_value( $mark ) > $globals{SMALL_MAX};
|
||||||
$val;
|
$val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5855,7 +5855,7 @@ sub get_configuration( $$$$ ) {
|
|||||||
|
|
||||||
$val = $config{PROVIDER_OFFSET};
|
$val = $config{PROVIDER_OFFSET};
|
||||||
|
|
||||||
$globals{SMALL_MASK} = $val ? make_mask( $val ) : $globals{TC_MASK};
|
$globals{SMALL_MAX} = $val ? make_mask( $val ) : $globals{TC_MASK};
|
||||||
|
|
||||||
if ( supplied ( $val = $config{ZONE2ZONE} ) ) {
|
if ( supplied ( $val = $config{ZONE2ZONE} ) ) {
|
||||||
fatal_error "Invalid ZONE2ZONE value ( $val )" unless $val =~ /^[2-]$/;
|
fatal_error "Invalid ZONE2ZONE value ( $val )" unless $val =~ /^[2-]$/;
|
||||||
|
Loading…
Reference in New Issue
Block a user