mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
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:
@@ -2,6 +2,8 @@
|
|||||||
/var/ipfire/*/*.conf
|
/var/ipfire/*/*.conf
|
||||||
/var/ipfire/*/*.pem
|
/var/ipfire/*/*.pem
|
||||||
/var/ipfire/*/config
|
/var/ipfire/*/config
|
||||||
|
/var/ipfire/*/enable
|
||||||
|
/var/ipifre/*/*enable*
|
||||||
/etc/passwd
|
/etc/passwd
|
||||||
/etc/shadow
|
/etc/shadow
|
||||||
/etc/group
|
/etc/group
|
||||||
@@ -10,11 +12,11 @@
|
|||||||
/etc/httpd/*
|
/etc/httpd/*
|
||||||
/etc/ssh/ssh_host*
|
/etc/ssh/ssh_host*
|
||||||
/var/ipfire/auth/users
|
/var/ipfire/auth/users
|
||||||
/var/ipifre/*/*enable*
|
|
||||||
/var/ipfire/dhcp/*
|
/var/ipfire/dhcp/*
|
||||||
/var/ipfire/main/*
|
/var/ipfire/main/*
|
||||||
/var/ipfire/outgoing/rules
|
/var/ipfire/outgoing/rules
|
||||||
/var/ipfire/ovpn
|
/var/ipfire/ovpn
|
||||||
|
/var/ipfire/ppp
|
||||||
/var/ipfire/proxy
|
/var/ipfire/proxy
|
||||||
/var/ipfire/qos/*
|
/var/ipfire/qos/*
|
||||||
/var/ipfire/urlfilter
|
/var/ipfire/urlfilter
|
||||||
|
|||||||
@@ -846,13 +846,17 @@ END
|
|||||||
<tr><td width='33%' align='right'>Ceilburst:
|
<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='left'><input type='text' size='20' name='CBURST' maxlength='8' value="$qossettings{'CBURST'}" />
|
||||||
<td width='33%' align='center'>
|
<td width='33%' align='center'>
|
||||||
|
END
|
||||||
|
;
|
||||||
|
$selected{'TOS'}{$qossettings{'TOS'}} = "selected='selected'";
|
||||||
|
print <<END
|
||||||
<tr><td width='33%' align='right'>TOS-Bit:
|
<tr><td width='33%' align='right'>TOS-Bit:
|
||||||
<td width='33%' align='left'><select name='TOS'>
|
<td width='33%' align='left'><select name='TOS'>
|
||||||
<option value='0'>$Lang::tr{'disabled'} (0)</option>
|
<option value='0' $selected{'TOS'}{'0'}>$Lang::tr{'disabled'} (0)</option>
|
||||||
<option value='8'>$Lang::tr{'min delay'} (8)</option>
|
<option value='8' $selected{'TOS'}{'8'}>$Lang::tr{'min delay'} (8)</option>
|
||||||
<option value='4'>$Lang::tr{'max throughput'} (4)</option>
|
<option value='4' $selected{'TOS'}{'4'}>$Lang::tr{'max throughput'} (4)</option>
|
||||||
<option value='2'>$Lang::tr{'max reliability'} (2)</option>
|
<option value='2' $selected{'TOS'}{'2'}>$Lang::tr{'max reliability'} (2)</option>
|
||||||
<option value='1'>$Lang::tr{'min costs'} (1)</option></select>
|
<option value='1' $selected{'TOS'}{'1'}>$Lang::tr{'min costs'} (1)</option></select>
|
||||||
<td width='33%' align='center'>
|
<td width='33%' align='center'>
|
||||||
<tr><td width='33%' align='right'>$Lang::tr{'remark'}:
|
<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' />
|
<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' />
|
||||||
|
|||||||
Reference in New Issue
Block a user