summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards/traffic_shaper_wizard.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-09 20:42:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-09 20:42:14 +0000
commit856345357e900f8e6ddf97511b0ea0fe0517675f (patch)
treee985699a71e46e42b9627e6bce18647d0c793c2f /usr/local/www/wizards/traffic_shaper_wizard.xml
parentbcd2aa6af9242d10e56ef13f4a17177453ed92b2 (diff)
downloadpfsense-856345357e900f8e6ddf97511b0ea0fe0517675f.zip
pfsense-856345357e900f8e6ddf97511b0ea0fe0517675f.tar.gz
Back out my band-aid which is covering up a bigger problem.
Diffstat (limited to 'usr/local/www/wizards/traffic_shaper_wizard.xml')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.xml10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml
index 3a964a3..eff19b5 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.xml
+++ b/usr/local/www/wizards/traffic_shaper_wizard.xml
@@ -421,12 +421,10 @@
$rule['destination']['network'] = 'lan';
$rule['descr'] = "m_voip {$voip[0]} inbound";
}
-
- if($voip[2]) {
- $rule['destination']['port'] = $voip[2]."-".$voip[3];
- if($voip[1] != '')
- $rule['protocol'] = $voip[1];
- }
+
+ $rule['destination']['port'] = $voip[2]."-".$voip[3];
+ if($voip[1] != '')
+ $rule['protocol'] = $voip[1];
$config['shaper']['rule'][] = $rule;
OpenPOWER on IntegriCloud