summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorPierre POMES <pierre.pomes@gmail.com>2012-02-19 19:25:09 -0500
committerPierre POMES <pierre.pomes@gmail.com>2012-02-19 19:25:09 -0500
commit259f606eb8b186e2b1033036a11467c610188100 (patch)
treedf2563e33a432a3e6059f7252d242b3e08f3b423 /etc/inc
parentcb2d016444067249d7f500f39390ae1627fc0e74 (diff)
downloadpfsense-259f606eb8b186e2b1033036a11467c610188100.zip
pfsense-259f606eb8b186e2b1033036a11467c610188100.tar.gz
Ticket #2205 - Main logic for relayd global settings screen, still need to add stuff (input validation, etc) before closing ticket
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/vslb.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc
index 71ea75f..dfe2705 100644
--- a/etc/inc/vslb.inc
+++ b/etc/inc/vslb.inc
@@ -165,6 +165,7 @@ function relayd_configure($kill_first=false) {
$vs_a = $config['load_balancer']['virtual_server'];
$pool_a = $config['load_balancer']['lbpool'];
$protocol_a = $config['load_balancer']['lbprotocol'];
+ $setting = $config['load_balancer']['setting'];
$check_a = array();
@@ -202,7 +203,8 @@ function relayd_configure($kill_first=false) {
/* reindex pools by name as we loop through the pools array */
$pools = array();
$conf .= "log updates \n";
- $conf .= "timeout 1000 \n";
+ $conf .= "timeout ".$setting['timeout']." \n";
+ $conf .= "interval ".$setting['interval']." \n";
/* Virtual server pools */
if(is_array($pool_a)) {
for ($i = 0; isset($pool_a[$i]); $i++) {
OpenPOWER on IntegriCloud