From 2d7025dcc35d0229bf4fe34231684d0b25a1875a Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 13 Dec 2014 08:31:31 -0800 Subject: [PATCH] Correct mark range handling Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Tc.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index 02e31e6e1..0cbde42fb 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -260,6 +260,8 @@ sub process_mangle_rule1( $$$$$$$$$$$$$$$$$$ ) { $chain ||= $designator; $chain ||= $default_chain; + $option = '--set-mark'; + my $chainref = ensure_chain( 'mangle', $chain = $chainnames{$chain} ); for ( my $packet = 0; $packet < $marks; $packet++, $markval += $increment ) {