diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-07 03:31:15 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-07 03:31:15 +0000 |
commit | dd12b6e29621e14209ee38beb6d79c8ebaa54e42 (patch) | |
tree | 5b88eb6a90398361f48064cdfa17c6b829f0020d /usr/local/www/wizards | |
parent | 53cf5533195676d14b48d28560a9d8d44e689e58 (diff) | |
download | pfsense-dd12b6e29621e14209ee38beb6d79c8ebaa54e42.zip pfsense-dd12b6e29621e14209ee38beb6d79c8ebaa54e42.tar.gz |
Add PlanetSide game
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.xml | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml index 4d4afd6..2fd5d50 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard.xml @@ -701,7 +701,7 @@ <type>checkbox</type> <typehint>Prioritize network gaming traffic</typehint> <description>This will raise the priority of gaming traffic to higher than most traffic.</description> - <enablefields>Counterstrike,DeltaForce,QuakeIII,TigerWoods2004PS2,CallOfDuty</enablefields> + <enablefields>Counterstrike,DeltaForce,QuakeIII,TigerWoods2004PS2,CallOfDuty,PlanetSide</enablefields> <donotdisable>true</donotdisable> </field> <field> @@ -734,6 +734,11 @@ <typehint>Call Of Duty (United Offensive)</typehint> </field> <field> + <name>PlanetSide</name> + <type>checkbox</type> + <typehint>PlanetSide</typehint> + </field> + <field> <name>Next</name> <type>submit</type> </field> @@ -824,7 +829,17 @@ $gamesplist[] = array('CallOfDuty1','tcp','28960','28960','both'); $gamesplist[] = array('CallOfDuty2','udp','28960','28960','both'); } - /* XXX: add some more games here! */ + + if($_POST['planetside'] != "") { + /* PlanetSide */ + $gamesplist[] = array('PlanetSide','tcp','7000','7000','both'); + $gamesplist[] = array('PlanetSide','tcp','7080','7080','both'); + $gamesplist[] = array('PlanetSide2','udp','3016-3021','3016-3021','both'); + $gamesplist[] = array('PlanetSide2','udp','45000-45010','45000-45010','both'); + $gamesplist[] = array('PlanetSide2','udp','30000-30500','30000-30500','both'); + } + + /* XXX: add some more games before this line!! */ /* Set up/down games as higher weight */ /* loop through p2plist[] */ |