summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-21 14:43:46 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-21 14:43:46 +0000
commit1b8aa34c8bae8d82c197976459d7bedaab7bd1c3 (patch)
treecf0deddb1b9b3657e61ea353a439fd5fbb58a66b /usr/local/www/wizards
parent97065cb07193b0eb76dd06508bc6d8ed454f01cb (diff)
downloadpfsense-1b8aa34c8bae8d82c197976459d7bedaab7bd1c3.zip
pfsense-1b8aa34c8bae8d82c197976459d7bedaab7bd1c3.tar.gz
Add ages of empires
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml
index 206cb85..09f57cf 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.xml
+++ b/usr/local/www/wizards/traffic_shaper_wizard.xml
@@ -755,7 +755,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,PlanetSide,Halo2</enablefields>
+ <enablefields>Counterstrike,DeltaForce,QuakeIII,TigerWoods2004PS2,CallOfDuty,PlanetSide,Halo2,AgesOfEmpires</enablefields>
<donotdisable>true</donotdisable>
<bindstofield>ezshaper->step5->enable</bindstofield>
</field>
@@ -810,6 +810,12 @@
<bindstofield>ezshaper->step5->halo2xbox</bindstofield>
</field>
<field>
+ <name>AgesOfEmpires</name>
+ <type>checkbox</type>
+ <typehint>Ages of empires</typehint>
+ <bindstofield>ezshaper->step5->agesofempires</bindstofield>
+ </field>
+ <field>
<name>Next</name>
<type>submit</type>
</field>
@@ -916,6 +922,14 @@
$gamesplist[] = array('Halo2-3', 'tcp', '3074', '3074', 'both');
}
+ if($_POST['agesofempires'] != "") {
+ /* Ages of empires */
+ $gamesplist[] = array('agesofempires-1', 'tcp', '2302-2400', '2302-2400', 'both');
+ $gamesplist[] = array('agesofempires-2', 'tcp', '6073', '6073', 'both');
+ $gamesplist[] = array('agesofempires-3', 'udp', '2302-2400', '2302-2400', 'both');
+ $gamesplist[] = array('agesofempires-4', 'udp', '6073', '6073', 'both');
+ }
+
/* XXX: add some more games before this line!! */
/* Set up/down games as higher weight */
OpenPOWER on IntegriCloud