From 1a24a6fe781e1ca4ed371d2514329be59dbc849f Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 1 Jan 2008 00:27:52 +0000 Subject: [PATCH] Final fix for wrong mask in mark tests git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7981 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Chains.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-perl/Shorewall/Chains.pm b/Shorewall-perl/Shorewall/Chains.pm index 4533ba698..247751fb0 100644 --- a/Shorewall-perl/Shorewall/Chains.pm +++ b/Shorewall-perl/Shorewall/Chains.pm @@ -1152,7 +1152,7 @@ sub do_test ( $$ ) validate_mark $testval; - $testval .= '/0xFFFF' unless ( $testval =~ '/' ); + $testval = join('/', $testval, $mask ) unless ( $testval =~ '/' ); "$match $testval "; }