Correct example in the docs and ensure that future idiots don't place 'default' in the PRIO column of tcclasses

This commit is contained in:
Tom Eastep 2009-08-24 06:25:26 -07:00
parent 679cff2779
commit 4eb9e5db3d

View File

@ -678,7 +678,7 @@ sub validate_tc_class( ) {
$rate = convert_rate ( $full, $rate, 'RATE' );
}
fatal_error "Invalid PRIO ($prio)" unless defined numeric_value $prio;;
fatal_error "Invalid PRIO ($prio)" unless defined numeric_value $prio;
$tcref->{$classnumber} = { tos => [] ,
rate => $rate ,