More mark geometry misses

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-01-13 12:16:40 -08:00
parent 72de96760f
commit 880cd269c7
2 changed files with 2 additions and 2 deletions

View File

@ -1477,7 +1477,7 @@ sub verify_mark( $ ) {
sub verify_small_mark( $ ) {
verify_mark ( (my $mark) = $_[0] );
fatal_error "Mark value ($mark) too large" if numeric_value( $mark ) > ( $config{WIDE_TC_MARKS} ? 0x3FFF : 0xFF );
fatal_error "Mark value ($mark) too large" if numeric_value( $mark ) > $globals{TC_MAX};
}
sub validate_mark( $ ) {

View File

@ -170,7 +170,7 @@ sub process_one_masq( )
#
# Handle Mark
#
$baserule .= do_test( $mark, $globals{TC_MARK} ) if $mark ne '-';
$baserule .= do_test( $mark, $globals{TC_MASK} ) if $mark ne '-';
$baserule .= do_user( $user ) if $user ne '-';
for my $fullinterface (split_list $interfacelist, 'interface' ) {