mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 10:52:57 +02:00
Bought a 'd' - fixed an old typo
'bandwith...' should be 'bandwidth...'. Despite being my favourite typo for the past few years(?), today I decided to try to say 'Goodbye' to an old friend. Similar to 'MB writen' its hard but I think it just about time. 'qos' and 'guardian' will never be the same for me... ;-) Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> Reviewed-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
13aeb19217
commit
2f6232d56c
@@ -748,9 +748,9 @@ END
|
||||
}
|
||||
|
||||
sub changebandwidth {
|
||||
&Header::openbox('100%', 'center', $Lang::tr{'bandwithsettings'});
|
||||
&Header::openbox('100%', 'center', $Lang::tr{'bandwidthsettings'});
|
||||
if ($qossettings{'ENABLED'} eq 'on') {
|
||||
print "$Lang::tr{'bandwitherror'}";
|
||||
print "$Lang::tr{'bandwidtherror'}";
|
||||
print "<a href='/cgi-bin/qos.cgi'>$Lang::tr{'back'}</a>";
|
||||
} else {
|
||||
print <<END
|
||||
@@ -842,10 +842,10 @@ END
|
||||
print <<END
|
||||
</select>
|
||||
<td width='33%' align='center'>
|
||||
<tr><td width='33%' align='right'>$Lang::tr{'guaranteed bandwith'}:
|
||||
<tr><td width='33%' align='right'>$Lang::tr{'guaranteed bandwidth'}:
|
||||
<td width='33%' align='left'><input type='text' size='20' name='MINBWDTH' maxlength='8' required='1' value="$qossettings{'MINBWDTH'}" />
|
||||
<td width='33%' align='center'>
|
||||
<tr><td width='33%' align='right'>$Lang::tr{'max bandwith'} <img src='/blob.gif' alt='*' />:
|
||||
<tr><td width='33%' align='right'>$Lang::tr{'max bandwidth'} <img src='/blob.gif' alt='*' />:
|
||||
<td width='33%' align='left'><input type='text' size='20' name='MAXBWDTH' maxlength='8' required='1' value="$qossettings{'MAXBWDTH'}" />
|
||||
<td width='33%' align='center'>
|
||||
<tr><td width='33%' align='right'>Burst:
|
||||
@@ -1007,8 +1007,8 @@ sub showclasses {
|
||||
<tr><td bgcolor='$color{'color20'}' width='10%' align='center'><b>$Lang::tr{'interface'}</b>
|
||||
<td bgcolor='$color{'color20'}' width='10%' align='center'><b>$Lang::tr{'Class'}</b>
|
||||
<td bgcolor='$color{'color20'}' width='10%' align='center'>$Lang::tr{'priority'}
|
||||
<td bgcolor='$color{'color20'}' width='10%' align='center'>$Lang::tr{'guaranteed bandwith'}
|
||||
<td bgcolor='$color{'color20'}' width='10%' align='center'>$Lang::tr{'max bandwith'}
|
||||
<td bgcolor='$color{'color20'}' width='10%' align='center'>$Lang::tr{'guaranteed bandwidth'}
|
||||
<td bgcolor='$color{'color20'}' width='10%' align='center'>$Lang::tr{'max bandwidth'}
|
||||
<td bgcolor='$color{'color20'}' width='10%' align='center'>Burst
|
||||
<td bgcolor='$color{'color20'}' width='10%' align='center'>Ceil Burst
|
||||
<td bgcolor='$color{'color20'}' width='10%' align='center'>TOS
|
||||
@@ -1219,7 +1219,7 @@ sub validminbwdth {
|
||||
}
|
||||
unless ( ( $qossettings{'MINBWDTH'} >= 1 ) && ( $qossettings{'MINBWDTH'} <= $qossettings{'SPD'} ) ) {
|
||||
$qossettings{'VALID'} = 'no';
|
||||
$message = "$Lang::tr{'false min bandwith'}";
|
||||
$message = "$Lang::tr{'false min bandwidth'}";
|
||||
}
|
||||
$qossettings{'SPD'} = '';
|
||||
}
|
||||
@@ -1234,7 +1234,7 @@ sub validmaxbwdth {
|
||||
}
|
||||
unless ( ( $qossettings{'MAXBDWTH'} >= 0 ) && ($qossettings{'MAXBDWTH'} >= $qossettings{'MINBDWTH'}) &&( $qossettings{'MAXBDWTH'} <= $qossettings{'SPD'} ) ) {
|
||||
$qossettings{'VALID'} = 'no';
|
||||
$message = "$Lang::tr{'false max bandwith'}";
|
||||
$message = "$Lang::tr{'false max bandwidth'}";
|
||||
}
|
||||
$qossettings{'SPD'} = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user