diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-05-10 16:23:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-05-10 16:23:40 +0000 |
commit | 817c47299054d181f12665845330d9fbb5b4d51b (patch) | |
tree | 7043d6950a1fef54841767a4b3262876a4a9f3cd /etc | |
parent | e410b5771cbf4a980a87061f2881c77d33f78347 (diff) | |
download | pfsense-817c47299054d181f12665845330d9fbb5b4d51b.zip pfsense-817c47299054d181f12665845330d9fbb5b4d51b.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 048ead9..6b36857 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1674,6 +1674,8 @@ function generate_user_filter_rule($rule, $ngcounter) { $routeto .= "} "; } else { $routeto .= "} round-robin "; + if(isset($config['system']['lb_use_sticky'])) + $routeto .= " sticky-address "; } } } |