diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index 5ceecfc55..6b9daa54c 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -463,7 +463,12 @@ sub process_tc_rule( ) { } } - ($cmd, $rest) = split( '/', $mark, 2 ); + if ( $mark =~ /^TOS/ ) { + $cmd = $mark; + $rest = ''; + } else { + ($cmd, $rest) = split( '/', $mark, 2 ); + } $list = '';