diff options
| author | Michael Larson <slioch@eng-140.vyatta.com> | 2008-02-21 17:26:17 -0800 |
|---|---|---|
| committer | Michael Larson <slioch@eng-140.vyatta.com> | 2008-02-21 17:26:17 -0800 |
| commit | 5500072cf6923bfab97ae1ed89231d71e4abce0f (patch) | |
| tree | 5723870f2972de7ce29d04e10e5fca69c494d3ee /scripts | |
| parent | 78b02f63a21f40fdbd47ed6718c9a88289a00eb4 (diff) | |
| download | vyatta-wanloadbalance-5500072cf6923bfab97ae1ed89231d71e4abce0f.tar.gz vyatta-wanloadbalance-5500072cf6923bfab97ae1ed89231d71e4abce0f.zip | |
cli specifies timeout value in seconds--conf takes value in milliseconds. Need to multiple cli value by
1000 to specify correct timeout value.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/vyatta-wanloadbalance.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |
