diff options
author | Ermal <eri@pfsense.org> | 2011-08-02 07:47:23 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-08-02 07:47:23 +0000 |
commit | 3adc6769856a81ded6be730be8d2a935afa8b65b (patch) | |
tree | d08b45198351bf4149998f67bcc284a255a17ded | |
parent | 6ecb52bd0dc31d229d358afd990ea29069adab8d (diff) | |
download | pfsense-3adc6769856a81ded6be730be8d2a935afa8b65b.zip pfsense-3adc6769856a81ded6be730be8d2a935afa8b65b.tar.gz |
Correct battlenet data to not be overriden. Reported-by: http://forum.pfsense.org/index.php/topic,39176.0.html
-rw-r--r-- | etc/inc/wizardapp.inc | 6 | ||||
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.inc | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/etc/inc/wizardapp.inc b/etc/inc/wizardapp.inc index 2a2392a..9208e7b 100644 --- a/etc/inc/wizardapp.inc +++ b/etc/inc/wizardapp.inc @@ -152,10 +152,6 @@ $gamesplist['battlenet'] = array(); $gamesplist['worldofwarcraft'] = array(); $gamesplist[] = array('WoW', 'tcp', '3724', '3724', 'both'); -$gamesplist['battlenet'] = array(); - /* Add battle.net only if WoW is selected and battle.net isn't */ - $gamesplist[] = array('Battle.NET', 'tcp', '6112', '6119', 'both'); - $gamesplist['gunzonline'] = array(); /* GunZ Online */ $gamesplist['gunzonline'][] = array('GunZOnline', 'udp', '7700', '7700', 'both'); @@ -345,4 +341,4 @@ $othersplist = array(); $othersplist['slingbox'][] = array('Slingbox2', 'udp', '5001', '5001', 'both'); -?>
\ No newline at end of file +?> diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc index 9676a31..86b8e15 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard.inc @@ -1437,7 +1437,7 @@ function apply_all_choosen_items() { if ($games) { foreach($config['ezshaper']['step6'] as $key => $val) { if (!is_array($gamesplist[$key])) - continue; + continue; foreach ($gamesplist[$key] as $Gameclient) { $rule = array(); $rule['type'] = "match"; |