diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-01-14 22:07:26 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-01-14 22:07:26 +0000 |
commit | 867b013e7dfeb4713a57d07cbbf7b146fe88aa6a (patch) | |
tree | 7652dbc27670d73e97cdb268ee4159db9ab082c1 /usr/local/www/wizards/traffic_shaper_wizard.inc | |
parent | e589191078ac4a22e2f3e7ecd2d6640faad75911 (diff) | |
download | pfsense-867b013e7dfeb4713a57d07cbbf7b146fe88aa6a.zip pfsense-867b013e7dfeb4713a57d07cbbf7b146fe88aa6a.tar.gz |
Add Xbox360 support in the gaming section
See http://support.microsoft.com/kb/908874
Diffstat (limited to 'usr/local/www/wizards/traffic_shaper_wizard.inc')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc index 4bfb99a..9d8b067 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard.inc @@ -768,6 +768,20 @@ function step6_stepsubmitphpaction() { $gamesplist[] = array('GunZOnline', 'udp', '7700', '7700', 'both'); } + if($_POST['xbox360'] != "") { + /* XBox360 */ + $gamesplist[] = array('xbox360-1', 'udp', '88', '88', 'both'); + $gamesplist[] = array('xbox360-2', 'udp', '3074', '3074', 'both'); + $gamesplist[] = array('xbox360-3', 'tcp', '3074', '3074', 'both'); + } + + if($_POST['xbox360'] != "") { + /* XBox360 */ + $gamesplist[] = array('xbox360-1', 'udp', '88', '88', 'both'); + $gamesplist[] = array('xbox360-2', 'udp', '3074', '3074', 'both'); + $gamesplist[] = array('xbox360-3', 'tcp', '3074', '3074', 'both'); + } + /* XXX: add some more games before this line!! */ /* Set up/down games as higher weight */ |