From 72de96760fc4405f101c76e01bd6baae57c8d5fc Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 13 Jan 2010 12:11:00 -0800 Subject: [PATCH] One more 0xFF -> $globals{TC_MASK} fix Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Nat.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Nat.pm b/Shorewall/Perl/Shorewall/Nat.pm index ac77c9fea..2f88d1c6c 100644 --- a/Shorewall/Perl/Shorewall/Nat.pm +++ b/Shorewall/Perl/Shorewall/Nat.pm @@ -36,7 +36,7 @@ use strict; our @ISA = qw(Exporter); our @EXPORT = qw( setup_masq setup_nat setup_netmap add_addresses ); our @EXPORT_OK = (); -our $VERSION = '4.4_4'; +our $VERSION = '4.4_6'; our @addresses_to_add; our %addresses_to_add; @@ -170,8 +170,8 @@ sub process_one_masq( ) # # Handle Mark # - $baserule .= do_test( $mark, 0xFF) if $mark ne '-'; - $baserule .= do_user( $user ) if $user ne '-'; + $baserule .= do_test( $mark, $globals{TC_MARK} ) if $mark ne '-'; + $baserule .= do_user( $user ) if $user ne '-'; for my $fullinterface (split_list $interfacelist, 'interface' ) { my $rule = '';