diff options
author | Ermal <eri@pfsense.org> | 2011-08-02 07:47:23 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-08-02 07:47:33 +0000 |
commit | b3795cb988b168a773c10a23675c4c674d8be194 (patch) | |
tree | e323ca29646d9700f93f436b832782646bce7d1e | |
parent | 1fd3fe31ff8dc3097f5a12f4104f23f6043e20c2 (diff) | |
download | pfsense-b3795cb988b168a773c10a23675c4c674d8be194.zip pfsense-b3795cb988b168a773c10a23675c4c674d8be194.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"; |