summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-07 03:31:15 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-07 03:31:15 +0000
commitdd12b6e29621e14209ee38beb6d79c8ebaa54e42 (patch)
tree5b88eb6a90398361f48064cdfa17c6b829f0020d
parent53cf5533195676d14b48d28560a9d8d44e689e58 (diff)
downloadpfsense-dd12b6e29621e14209ee38beb6d79c8ebaa54e42.zip
pfsense-dd12b6e29621e14209ee38beb6d79c8ebaa54e42.tar.gz
Add PlanetSide game
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.xml19
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[] */
OpenPOWER on IntegriCloud