Fix TOS(tos/mask) in tcrules.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-03-14 15:33:31 -07:00
parent 3e9edcb7e8
commit 8e413a7bf0

View File

@ -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 = ''; $list = '';