diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-09 21:38:22 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-09 21:38:22 +0000 |
commit | b0e5e51399956a161f7723a0e725614776fd527c (patch) | |
tree | c3f087cc497874b485b9289cc4dbe4fa477df93a /usr/local/www/wizards | |
parent | 26e6594b49ebd271329459c3acef47f7c2b98e97 (diff) | |
download | pfsense-b0e5e51399956a161f7723a0e725614776fd527c.zip pfsense-b0e5e51399956a161f7723a0e725614776fd527c.tar.gz |
MFC 11279
protocols aren't dependant on ports - I'm guessing this code could use more cleanup
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc index 4ce4478..856488a 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard.inc @@ -949,9 +949,9 @@ function step6_stepsubmitphpaction() { if($otherclient[2] or $otherclient[3]) { $rule['destination']['port'] = $otherclient[2]."-".$otherclient[3]; - if($otherclient[1] != '') - $rule['protocol'] = $otherclient[1]; } + if($otherclient[1] != '') + $rule['protocol'] = $otherclient[1]; $config['shaper']['rule'][] = $rule; } @@ -1054,4 +1054,4 @@ function step8_stepsubmitphpaction() { } -?>
\ No newline at end of file +?> |