diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-05-10 16:23:31 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-05-10 16:23:31 +0000 |
commit | 6fb65ecd385ed385c3dea47b9736a2a4d95aa138 (patch) | |
tree | dd9a9ea46f90f7caf8d76b487baff1a3299fbf4c /etc | |
parent | 7528fc099038735a79a64e9fc32af12b3c98b114 (diff) | |
download | pfsense-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.inc | 2 |
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 "; } } } |