summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fuchs <mfuchs@pfsense.org>2007-10-23 20:44:51 +0000
committerMartin Fuchs <mfuchs@pfsense.org>2007-10-23 20:44:51 +0000
commit88a82fc434707bfc5a232e1976e20b820a07d1a8 (patch)
treef1720302021bf9bf98e4640f71ed7656f7e7767f
parent6d61e0a0e822f83fd5180b261e8f42d8e01aeca7 (diff)
downloadpfsense-88a82fc434707bfc5a232e1976e20b820a07d1a8.zip
pfsense-88a82fc434707bfc5a232e1976e20b820a07d1a8.tar.gz
Add Codemasters ArchLord MMORPG to traffic shaper
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.inc8
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.xml8
2 files changed, 15 insertions, 1 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc
index bd06153..5bd8d3b 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard.inc
@@ -765,6 +765,14 @@ function step6_stepsubmitphpaction() {
}
$gamesplist[] = array('WoW', 'tcp', '3724', '3724', 'both');
}
+
+ if($_POST['archlord'] != "") {
+ /* ArchLord */
+ $gamesplist[] = array('AL-1', 'tcp', '11000', '11000', 'both');
+ $gamesplist[] = array('AL-2', 'tcp', '11002', '11002', 'both');
+ $gamesplist[] = array('AL-3', 'tcp', '11008', '11008', 'both');
+ }
+
if($_POST['gunzonline'] != "") {
/* GunZ Online */
$gamesplist[] = array('GunZOnline', 'udp', '7700', '7700', 'both');
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml
index 1c3e6cc..b03db11 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.xml
+++ b/usr/local/www/wizards/traffic_shaper_wizard.xml
@@ -513,7 +513,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>BattleNET,Battlefield2,CallOfDuty,Counterstrike,DeltaForce,DOOM3,EmpireEarth,Everquest,Everquest2,FarCry,GunZOnline,HalfLife,HalfLife2,Halo2,Lineage2,PlanetSide,QuakeIII,TigerWoods2004PS2,UnrealTournament,WolfensteinEnemyTerritory,WorldOfWarcraft,XBox360</enablefields>
+ <enablefields>BattleNET,Battlefield2,CallOfDuty,Counterstrike,DeltaForce,DOOM3,EmpireEarth,Everquest,Everquest2,FarCry,GunZOnline,HalfLife,HalfLife2,Halo2,Lineage2,PlanetSide,QuakeIII,TigerWoods2004PS2,UnrealTournament,WolfensteinEnemyTerritory,WorldOfWarcraft,ArchLord,XBox360</enablefields>
<donotdisable>true</donotdisable>
<bindstofield>ezshaper->step6->enable</bindstofield>
</field>
@@ -651,6 +651,12 @@
<typehint>World of Warcraft</typehint>
<bindstofield>ezshaper->step6->wow</bindstofield>
</field>
+ <field>
+ <name>ArchLord</name>
+ <type>checkbox</type>
+ <typehint>ArchLord</typehint>
+ <bindstofield>ezshaper->step6->archlord</bindstofield>
+ </field>
<field>
<name>Xbox360</name>
<type>checkbox</type>
OpenPOWER on IntegriCloud