mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
The doubled "$rule = array();" lines are probably a copy/paste error. Probably meant to paste the line that sets the rule type to the match action like the rest of what was added in the affected commit.
This commit is contained in:
parent
bd25957187
commit
97bc0bcc31
@ -1010,7 +1010,7 @@ function apply_all_choosen_items() {
|
||||
/* loop through voiplist[] */
|
||||
foreach ($voiplist[$config['ezshaper']['step3']['provider']] as $voip) {
|
||||
$rule = array();
|
||||
$rule = array();
|
||||
$rule['type'] = "match";
|
||||
$rule['defaultqueue'] = 'qVoIP';
|
||||
$rule['direction'] = "out";
|
||||
$rule['source']['any'] = TRUE;
|
||||
@ -1034,7 +1034,7 @@ function apply_all_choosen_items() {
|
||||
continue;
|
||||
foreach ($p2plist[$key] as $p2pclient) {
|
||||
$rule = array();
|
||||
$rule = array();
|
||||
$rule['type'] = "match";
|
||||
$rule['defaultqueue'] = 'qP2P';
|
||||
$rule['direction'] = "out";
|
||||
$rule['source']['any'] = TRUE;
|
||||
@ -1057,7 +1057,7 @@ function apply_all_choosen_items() {
|
||||
continue;
|
||||
foreach ($gamesplist[$key] as $Gameclient) {
|
||||
$rule = array();
|
||||
$rule = array();
|
||||
$rule['type'] = "match";
|
||||
$rule['defaultqueue'] = 'qGames';
|
||||
if ($Gameclient[1] == "tcp")
|
||||
$rule['ackqueue'] = 'qACK';
|
||||
@ -1083,7 +1083,7 @@ function apply_all_choosen_items() {
|
||||
continue;
|
||||
foreach ($othersplist[$key] as $otherclient) {
|
||||
$rule = array();
|
||||
$rule = array();
|
||||
$rule['type'] = "match";
|
||||
switch ($val) {
|
||||
case "H":
|
||||
$rule['defaultqueue'] = 'qOthersHigh'; /* posted value H or L */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user