]> git.ipfire.org Git - people/dweismueller/ipfire-2.x.git/commitdiff
As described in bug 11257 there is a mistake in the qos templates. bug.11257
authorDaniel Weismüller <daniel.weismueller@ipfire.org>
Tue, 6 Mar 2018 14:33:08 +0000 (15:33 +0100)
committerDaniel Weismüller <daniel.weismueller@ipfire.org>
Tue, 6 Mar 2018 14:46:50 +0000 (15:46 +0100)
The sum of the guaranteed bandwidth of the classes 101 - 120 is bigger than the available bandwidth.
I adjusted the guaranteed bandwidth of the classes 101 - 104 so that each of them has a guaranteed
bandwidth of 10% of the available bandwith.

Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
html/cgi-bin/qos.cgi

index 071b93f5d58ecb8660b253588a2f47df458f1e50..b7af11204ebd29c9cf20145e5e0c84e76cd3d567 100644 (file)
@@ -510,17 +510,17 @@ elsif ($qossettings{'ACTION'} eq $Lang::tr{'template'} )
                }
                open( FILE, "> $classfile" ) or die "Unable to write $classfile";
                print FILE <<END
-imq0;200;1;$DOWN[10];$DOWN[1];;;8;VoIP;
+imq0;200;1;$DOWN[20];$DOWN[1];;;8;VoIP;
 imq0;203;4;$DOWN[20];$DOWN[1];;;0;VPN;
 imq0;204;5;$DOWN[20];$DOWN[1];;;8;Webtraffic;
 imq0;210;6;1;$DOWN[1];;;0;Default;
 imq0;220;7;1;$DOWN[1];;;1;P2P;
-$qossettings{'RED_DEV'};101;1;$UP[2];$UP[1];;;8;ACKs;
-$qossettings{'RED_DEV'};102;2;$UP[3];$UP[1];;;8;VoIP;
+$qossettings{'RED_DEV'};101;1;$UP[10];$UP[1];;;8;ACKs;
+$qossettings{'RED_DEV'};102;2;$UP[10];$UP[1];;;8;VoIP;
+$qossettings{'RED_DEV'};103;4;$UP[10];$UP[1];;;2;VPN;
 $qossettings{'RED_DEV'};104;5;$UP[10];$UP[1];;;8;Webtraffic;
 $qossettings{'RED_DEV'};110;6;1;$UP[1];;;0;Default;
 $qossettings{'RED_DEV'};120;7;1;$UP[1];;;1;P2P;
-$qossettings{'RED_DEV'};103;4;$UP[2];$UP[1];;;2;VPN;
 END
 ;
                close FILE;