diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-10-08 20:16:00 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-10-08 20:16:00 +0000 |
commit | 1f6ec411eb16d942395fea2cc2d639fb8d7d0b3d (patch) | |
tree | fbd31b9d64ff57e00416c7d5d2d7b490a35d96cf | |
parent | d231c4d395eaedbcee43382e886f9e169a16c9e8 (diff) | |
download | pfsense-1f6ec411eb16d942395fea2cc2d639fb8d7d0b3d.zip pfsense-1f6ec411eb16d942395fea2cc2d639fb8d7d0b3d.tar.gz |
Use ECN for the queues created by the wizard which is a more recent technology and i am tired of explaining to users how to handle errors on it. Strange is this is an ALPHA(!!) release!
The actual problem is in the dummynet merge with pf which has a red keyword with diferent parameters.
4 files changed, 68 insertions, 68 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc index 53c8061..26e08f3 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard.inc @@ -997,7 +997,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qACK"; $tmpcf['priority'] = 6; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1035,7 +1035,7 @@ $othersplist = array(); $tmpcf['enabled'] = "on"; if (!$p2pcatchall) $tmpcf['default'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.1; /* 10% bandwidth */ @@ -1061,7 +1061,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qP2P"; $tmpcf['priority'] = 1; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($p2pcatchall) { if ($sched == "CBQ") { @@ -1115,7 +1115,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qVoIP"; $tmpcf['priority'] = 7; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1158,7 +1158,7 @@ $othersplist = array(); $tmpcf['name'] = "qGames"; $tmpcf['priority'] = 5; $tmpcf['enabled'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.2; /* 20% bandwidth */ @@ -1190,7 +1190,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersHigh"; $tmpcf['priority'] = 4; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1222,7 +1222,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersLow"; $tmpcf['priority'] = 2; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1365,7 +1365,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qInternet"; //$tmpcf['priority'] = 6; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['bandwidth'] = $lanbw/1000; @@ -1403,7 +1403,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qACK"; $tmpcf['priority'] = 6; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1441,7 +1441,7 @@ $othersplist = array(); $tmpcf['enabled'] = "on"; if (!$p2pcatchall) $tmpcf['default'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.1; /* 10% bandwidth */ @@ -1467,7 +1467,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qP2P"; $tmpcf['priority'] = 1; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($p2pcatchall) { if ($sched == "CBQ") { @@ -1521,7 +1521,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qVoIP"; $tmpcf['priority'] = 7; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1564,7 +1564,7 @@ $othersplist = array(); $tmpcf['name'] = "qGames"; $tmpcf['priority'] = 5; $tmpcf['enabled'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.2; /* 20% bandwidth */ @@ -1596,7 +1596,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersHigh"; $tmpcf['priority'] = 4; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1628,7 +1628,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersLow"; $tmpcf['priority'] = 2; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc index c9aa5b4..d8afda3 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc @@ -270,7 +270,7 @@ function step2_stepsubmitphpaction() { } } - /* This is necessary since the wizard expects predefined fields. */ + /* This is necessary since the wizard expects pecnefined fields. */ unset($config['ezshaper']['step2']); $config['ezshaper']['step2'] = array(); @@ -905,7 +905,7 @@ $othersplist = array(); */ if(isset($config['shaper']['queue'])) unset($config['shaper']['queue']); - /* XXX: This is redundant, because this should be handled by converter at startup. */ + /* XXX: This is ecnundant, because this should be handled by converter at startup. */ if(isset($config['shaper']['rule'])) unset($config['shaper']['rule']); foreach ($config['filter']['rule'] as $key => $rule) @@ -1032,7 +1032,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qInternet"; //$tmpcf['priority'] = 6; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['bandwidth'] = floatval($config['ezshaper']['step2']["conn{$i}upload"]); @@ -1070,7 +1070,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qACK"; $tmpcf['priority'] = 6; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1108,7 +1108,7 @@ $othersplist = array(); $tmpcf['enabled'] = "on"; if (!$p2pcatchall) $tmpcf['default'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.1; /* 10% bandwidth */ @@ -1134,7 +1134,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qP2P"; $tmpcf['priority'] = 1; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($p2pcatchall) { if ($sched == "CBQ") { @@ -1188,7 +1188,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qVoIP"; $tmpcf['priority'] = 7; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1231,7 +1231,7 @@ $othersplist = array(); $tmpcf['name'] = "qGames"; $tmpcf['priority'] = 5; $tmpcf['enabled'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.2; /* 20% bandwidth */ @@ -1263,7 +1263,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersHigh"; $tmpcf['priority'] = 4; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1295,7 +1295,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersLow"; $tmpcf['priority'] = 2; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1440,7 +1440,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qInternet"; //$tmpcf['priority'] = 6; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['bandwidth'] = floatval($config['ezshaper']['step2']["conn{$i}download"]); @@ -1477,7 +1477,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qACK"; $tmpcf['priority'] = 6; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1515,7 +1515,7 @@ $othersplist = array(); $tmpcf['enabled'] = "on"; if (!$p2pcatchall) $tmpcf['default'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.1; /* 10% bandwidth */ @@ -1541,7 +1541,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qP2P"; $tmpcf['priority'] = 1; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($p2pcatchall) { if ($sched == "CBQ") { @@ -1595,7 +1595,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qVoIP"; $tmpcf['priority'] = 7; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1638,7 +1638,7 @@ $othersplist = array(); $tmpcf['name'] = "qGames"; $tmpcf['priority'] = 5; $tmpcf['enabled'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.2; /* 20% bandwidth */ @@ -1670,7 +1670,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersHigh"; $tmpcf['priority'] = 4; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1702,7 +1702,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersLow"; $tmpcf['priority'] = 2; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc index e8287ab..f39ccfe 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc @@ -303,7 +303,7 @@ function step2_stepsubmitphpaction() { } - /* This is necessary since the wizard expects predefined fields. */ + /* This is necessary since the wizard expects pecnefined fields. */ unset($config['ezshaper']['step2']); $config['ezshaper']['step2'] = array(); @@ -950,7 +950,7 @@ $othersplist = array(); */ if(isset($config['shaper']['queue'])) unset($config['shaper']['queue']); - /* XXX: This is redundant, because this should be handled by converter at startup. */ + /* XXX: This is ecnundant, because this should be handled by converter at startup. */ if(isset($config['shaper']['rule'])) unset($config['shaper']['rule']); foreach ($config['filter']['rule'] as $key => $rule) @@ -1077,7 +1077,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qInternet"; //$tmpcf['priority'] = 6; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['bandwidth'] = floatval($config['ezshaper']['step2']["conn{$i}upload"]); @@ -1114,7 +1114,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qACK"; $tmpcf['priority'] = 6; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1152,7 +1152,7 @@ $othersplist = array(); $tmpcf['enabled'] = "on"; if (!$p2pcatchall) $tmpcf['default'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.1; /* 10% bandwidth */ @@ -1178,7 +1178,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qP2P"; $tmpcf['priority'] = 1; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($p2pcatchall) { if ($sched == "CBQ") { @@ -1232,7 +1232,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qVoIP"; $tmpcf['priority'] = 7; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1275,7 +1275,7 @@ $othersplist = array(); $tmpcf['name'] = "qGames"; $tmpcf['priority'] = 5; $tmpcf['enabled'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.2; /* 20% bandwidth */ @@ -1307,7 +1307,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersHigh"; $tmpcf['priority'] = 4; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1339,7 +1339,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersLow"; $tmpcf['priority'] = 2; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1493,7 +1493,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qInternet"; //$tmpcf['priority'] = 6; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['bandwidth'] = $lanbw/1000; @@ -1526,7 +1526,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qACK"; $tmpcf['priority'] = 6; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1564,7 +1564,7 @@ $othersplist = array(); $tmpcf['enabled'] = "on"; if (!$p2pcatchall) $tmpcf['default'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.1; /* 10% bandwidth */ @@ -1590,7 +1590,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qP2P"; $tmpcf['priority'] = 1; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($p2pcatchall) { if ($sched == "CBQ") { @@ -1644,7 +1644,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qVoIP"; $tmpcf['priority'] = 7; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1687,7 +1687,7 @@ $othersplist = array(); $tmpcf['name'] = "qGames"; $tmpcf['priority'] = 5; $tmpcf['enabled'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.2; /* 20% bandwidth */ @@ -1719,7 +1719,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersHigh"; $tmpcf['priority'] = 4; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1751,7 +1751,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersLow"; $tmpcf['priority'] = 2; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc index 7c95752..4b88c38 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc @@ -256,7 +256,7 @@ function step2_stepsubmitphpaction() { exit; } - /* This is necessary since the wizard expects predefined fields. */ + /* This is necessary since the wizard expects pecnefined fields. */ unset($config['ezshaper']['step2']); $config['ezshaper']['step2'] = array(); @@ -733,7 +733,7 @@ $othersplist = array(); */ if(isset($config['shaper']['queue'])) unset($config['shaper']['queue']); - /* XXX: This is redundant, because this should be handled by converter at startup. */ + /* XXX: This is ecnundant, because this should be handled by converter at startup. */ if(isset($config['shaper']['rule'])) unset($config['shaper']['rule']); foreach ($config['filter']['rule'] as $key => $rule) @@ -854,7 +854,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qInternet"; //$tmpcf['priority'] = 6; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['bandwidth'] = floatval($config['ezshaper']['step2']["conndownload"]); @@ -891,7 +891,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qACK"; $tmpcf['priority'] = 6; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -929,7 +929,7 @@ $othersplist = array(); $tmpcf['enabled'] = "on"; if (!$p2pcatchall) $tmpcf['default'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.1; /* 10% bandwidth */ @@ -955,7 +955,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qP2P"; $tmpcf['priority'] = 1; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($p2pcatchall) { if ($sched == "CBQ") { @@ -1009,7 +1009,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qVoIP"; $tmpcf['priority'] = 7; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1052,7 +1052,7 @@ $othersplist = array(); $tmpcf['name'] = "qGames"; $tmpcf['priority'] = 5; $tmpcf['enabled'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.2; /* 20% bandwidth */ @@ -1084,7 +1084,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersHigh"; $tmpcf['priority'] = 4; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1116,7 +1116,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersLow"; $tmpcf['priority'] = 2; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1261,7 +1261,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qACK"; $tmpcf['priority'] = 6; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1300,7 +1300,7 @@ $othersplist = array(); $tmpcf['enabled'] = "on"; if (!$p2pcatchall) $tmpcf['default'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.1; /* 10% bandwidth */ @@ -1326,7 +1326,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qP2P"; $tmpcf['priority'] = 1; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($p2pcatchall) { if ($sched == "CBQ") { @@ -1380,7 +1380,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qVoIP"; $tmpcf['priority'] = 7; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1423,7 +1423,7 @@ $othersplist = array(); $tmpcf['name'] = "qGames"; $tmpcf['priority'] = 5; $tmpcf['enabled'] = "on"; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; $tmpcf['bandwidth'] = $remainbw * 0.2; /* 20% bandwidth */ @@ -1455,7 +1455,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersHigh"; $tmpcf['priority'] = 4; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; @@ -1487,7 +1487,7 @@ $othersplist = array(); $tmpcf = array(); $tmpcf['name'] = "qOthersLow"; $tmpcf['priority'] = 2; - $tmpcf['red'] = "on"; + $tmpcf['ecn'] = "on"; $tmpcf['enabled'] = "on"; if ($sched == "CBQ") { $tmpcf['borrow'] = "on"; |