Reword error message when tcclass MARK is too large

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-04-18 10:06:04 -07:00
parent 2b7ef0fe32
commit 35a22eedac

View File

@ -674,7 +674,7 @@ sub validate_tc_class( ) {
$markval = numeric_value( $mark ); $markval = numeric_value( $mark );
fatal_error "Invalid MARK ($markval)" unless defined $markval; fatal_error "Invalid MARK ($markval)" unless defined $markval;
fatal_error "Invalid Mark ($mark)" unless $markval <= $globals{TC_MAX}; fatal_error "MARK value too large" unless $markval <= $globals{TC_MAX};
fatal_error "MARK value must be non-zero" unless $markval; fatal_error "MARK value must be non-zero" unless $markval;
if ( $classnumber ) { if ( $classnumber ) {