QoS.cgi speichert jetzt die TOS-Bits nach dem editieren wieder richtig.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@803 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-08-22 18:07:20 +00:00
parent c0d19944e2
commit bb2d1e47fb
2 changed files with 12 additions and 6 deletions

View File

@@ -2,6 +2,8 @@
/var/ipfire/*/*.conf
/var/ipfire/*/*.pem
/var/ipfire/*/config
/var/ipfire/*/enable
/var/ipifre/*/*enable*
/etc/passwd
/etc/shadow
/etc/group
@@ -10,11 +12,11 @@
/etc/httpd/*
/etc/ssh/ssh_host*
/var/ipfire/auth/users
/var/ipifre/*/*enable*
/var/ipfire/dhcp/*
/var/ipfire/main/*
/var/ipfire/outgoing/rules
/var/ipfire/ovpn
/var/ipfire/ppp
/var/ipfire/proxy
/var/ipfire/qos/*
/var/ipfire/urlfilter

View File

@@ -846,13 +846,17 @@ END
<tr><td width='33%' align='right'>Ceilburst:
<td width='33%' align='left'><input type='text' size='20' name='CBURST' maxlength='8' value="$qossettings{'CBURST'}" />
<td width='33%' align='center'>&nbsp;
END
;
$selected{'TOS'}{$qossettings{'TOS'}} = "selected='selected'";
print <<END
<tr><td width='33%' align='right'>TOS-Bit:
<td width='33%' align='left'><select name='TOS'>
<option value='0'>$Lang::tr{'disabled'} (0)</option>
<option value='8'>$Lang::tr{'min delay'} (8)</option>
<option value='4'>$Lang::tr{'max throughput'} (4)</option>
<option value='2'>$Lang::tr{'max reliability'} (2)</option>
<option value='1'>$Lang::tr{'min costs'} (1)</option></select>
<option value='0' $selected{'TOS'}{'0'}>$Lang::tr{'disabled'} (0)</option>
<option value='8' $selected{'TOS'}{'8'}>$Lang::tr{'min delay'} (8)</option>
<option value='4' $selected{'TOS'}{'4'}>$Lang::tr{'max throughput'} (4)</option>
<option value='2' $selected{'TOS'}{'2'}>$Lang::tr{'max reliability'} (2)</option>
<option value='1' $selected{'TOS'}{'1'}>$Lang::tr{'min costs'} (1)</option></select>
<td width='33%' align='center'>&nbsp;
<tr><td width='33%' align='right'>$Lang::tr{'remark'}:
<td width='66%' colspan='2' align='left'><input type='text' name='REMARK' size='40' maxlength='40' value="$qossettings{'REMARK'}" /> <img alt="" alt='blob' src='/blob.gif' />