summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-05-10 16:23:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-05-10 16:23:31 +0000
commit6fb65ecd385ed385c3dea47b9736a2a4d95aa138 (patch)
treedd9a9ea46f90f7caf8d76b487baff1a3299fbf4c /etc
parent7528fc099038735a79a64e9fc32af12b3c98b114 (diff)
downloadpfsense-6fb65ecd385ed385c3dea47b9736a2a4d95aa138.zip
pfsense-6fb65ecd385ed385c3dea47b9736a2a4d95aa138.tar.gz
Honor sticky-address setting from system->advanced for outgoing load balancing items if it is enabled.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 187635d..401ddb6 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1667,6 +1667,8 @@ function generate_user_filter_rule($rule, $ngcounter) {
$routeto .= "} ";
} else {
$routeto .= "} round-robin ";
+ if(isset($config['system']['lb_use_sticky']))
+ $routeto .= " sticky-address ";
}
}
}
OpenPOWER on IntegriCloud