From 5500072cf6923bfab97ae1ed89231d71e4abce0f Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Thu, 21 Feb 2008 17:26:17 -0800 Subject: cli specifies timeout value in seconds--conf takes value in milliseconds. Need to multiple cli value by 1000 to specify correct timeout value. --- scripts/vyatta-wanloadbalance.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl index 9e8f763..e89726d 100644 --- a/scripts/vyatta-wanloadbalance.pl +++ b/scripts/vyatta-wanloadbalance.pl @@ -59,7 +59,7 @@ sub write_health { $option = $config->returnValue("$ethNode resp-time"); if (defined $option) { - print FILE_LCK "\t\tping-resp " . $option . "\n"; + print FILE_LCK "\t\tping-resp " . $option*1000 . "\n"; } $option = $config->returnValue("$ethNode success-count"); -- cgit v1.2.3