diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-30 19:29:36 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-30 19:29:36 +0000 |
commit | 2cb2b9f02a855cca87e380b1bd35e4bafb5b1fce (patch) | |
tree | 505d8dec341a81c879790ce454938c40669a9372 /usr/local/www | |
parent | 96557c81987d346f5bb88f38bab484024da614f1 (diff) | |
download | pfsense-2cb2b9f02a855cca87e380b1bd35e4bafb5b1fce.zip pfsense-2cb2b9f02a855cca87e380b1bd35e4bafb5b1fce.tar.gz |
MFC 7247
Add Battlefield 2
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml index c97d89e..0f7b7f3 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard.xml @@ -825,6 +825,12 @@ <type>listtopic</type> </field> <field> + <name>Battlefield2</name> + <type>checkbox</type> + <typehint>Battlefield 2</typehint> + <bindstofield>ezshaper->step5->battlefield2</bindstofield> + </field> + <field> <name>CallOfDuty</name> <type>checkbox</type> <typehint>Call Of Duty (United Offensive)</typehint> @@ -976,6 +982,19 @@ $gamesplist = array(); + if($_POST['battlefield2'] != "") { + /* Battlefield 2 */ + $gamesplist[] = array('BF2-1500-4999', 'udp', '1500', '4999', 'both'); + $gamesplist[] = array('BF2-4711', 'tcp', '4711', '4711', 'both'); + $gamesplist[] = array('BF2-16567', 'udp', '16567', '16567', 'both'); + $gamesplist[] = array('BF2-27900', 'udp', '27900', '27900', 'both'); + $gamesplist[] = array('BF2-28910', 'tcp', '28910', '28910', 'both'); + $gamesplist[] = array('BF2-29900-29901-UDP', 'udp', '29900', '29901', 'both'); + $gamesplist[] = array('BF2-29900-29901-TCP', 'tcp', '29900', '29901', 'both'); + $gamesplist[] = array('BF2-27900', 'udp', '27900', '27900', 'both'); + $gamesplist[] = array('BF2-55123-55125', 'udp', '55123', '55125', 'both'); + } + if($_POST['counterstrike'] != "") { /* counter strike */ $gamesplist[] = array('Titan', 'udp', '6003', '6003', 'both'); |