diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-02-03 17:29:56 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-02-03 17:29:56 +0000 |
commit | 1c55cde41f12150d5b82e17129bda0cfeef45fcf (patch) | |
tree | e26541e876e18ef827328a8c4e4228c3ada9d80e /usr | |
parent | b63cb05e7c64209d6188c45080cac8a091966b32 (diff) | |
download | pfsense-1c55cde41f12150d5b82e17129bda0cfeef45fcf.zip pfsense-1c55cde41f12150d5b82e17129bda0cfeef45fcf.tar.gz |
* Add Slingbox to the raise/lower protocols screen.(requested by Scott)
* Fix a bug with the creation of rules for this section of the wizard.
* Also set the qACK where it makes sense.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.inc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc index e22e394..ae16c75 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard.inc @@ -872,6 +872,9 @@ $othersplist = array(); $othersplist['hbci'] = array(); /* HBCI */ $othersplist['hbci'][] = array('HBCI', 'tcp', '3000', '3000', 'both'); + $othersplist['slingbox'] = array(); + $othersplist['slingbox'][] = array('Slingbox', 'tcp', '5001', '5001', 'both'); + $othersplist['slingbox'][] = array('Slingbox', 'udp', '5001', '5001', 'both'); /* * Wipe previous config. @@ -1738,19 +1741,21 @@ $othersplist = array(); switch ($val) { case "H": $rule['defaultqueue'] = 'qOthersHigh'; /* posted value H or L */ - if ($val[1] == "tcp") + if ($otherclient[1] == "tcp") $rule['ackqueue'] = 'qACK'; $loop = 0; break; case "L": - $rule['defaultqueue'] = 'qOthersLow'; /* posted value H or L */ + $rule['defaultqueue'] = 'qOthersLow'; /* posted value H or L */ + if ($otherclient[1] == "tcp") + $rule['ackqueue'] = 'qACK'; $loop = 0; break; case "D": if ($p2pcatchall) { $loop = 0; $rule['defaultqueue'] = 'qOthersDefault'; - if ($val[1] == "tcp") + if ($otherclient[1] == "tcp") $rule['ackqueue'] = 'qACK'; } else $loop = 1; /* It automitaclly goes to default queue */ |