diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-09 20:42:14 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-09 20:42:14 +0000 |
commit | 856345357e900f8e6ddf97511b0ea0fe0517675f (patch) | |
tree | e985699a71e46e42b9627e6bce18647d0c793c2f /usr | |
parent | bcd2aa6af9242d10e56ef13f4a17177453ed92b2 (diff) | |
download | pfsense-856345357e900f8e6ddf97511b0ea0fe0517675f.zip pfsense-856345357e900f8e6ddf97511b0ea0fe0517675f.tar.gz |
Back out my band-aid which is covering up a bigger problem.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.xml | 10 |
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; |