summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-05-10 16:23:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-05-10 16:23:40 +0000
commit817c47299054d181f12665845330d9fbb5b4d51b (patch)
tree7043d6950a1fef54841767a4b3262876a4a9f3cd /etc
parente410b5771cbf4a980a87061f2881c77d33f78347 (diff)
downloadpfsense-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.inc2
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 ";
}
}
}
OpenPOWER on IntegriCloud