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 aa503e7211
commit 95e4f8dd91

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 = '';