diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-03 23:21:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-03 23:21:39 +0000 |
commit | 2005eef98716654581623980bb8d7c193e4772d5 (patch) | |
tree | ced926d7f2cdefd434fdfaffce7a00a9362420be /etc | |
parent | f14e36226d97b0fac08f4b8005d5b71913cdaa0d (diff) | |
download | pfsense-2005eef98716654581623980bb8d7c193e4772d5.zip pfsense-2005eef98716654581623980bb8d7c193e4772d5.tar.gz |
Add {} for readability
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index d94b3a0..834ba89 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1371,7 +1371,7 @@ function generate_user_filter_rule($rule, $ngcounter) { /* if user has selected a custom gateway, lets work with it */ if($rule['gateway'] <> "") { $foundlb = 0; - if(isarray($config['load_balancer']['lbpool'])) + if(isarray($config['load_balancer']['lbpool'])) { foreach($config['load_balancer']['lbpool'] as $lb) { if($lb['name'] == $rule['gateway']) { $gateway = $rule['gateway']; @@ -1418,6 +1418,7 @@ function generate_user_filter_rule($rule, $ngcounter) { $line .= "} round-robin "; } } + } /* we're not using load balancing, just setup gateway */ if($foundlb == 0) { $gateway = $rule['gateway']; |