diff options
author | Michael Larson <slioch@eng-140.vyatta.com> | 2008-06-06 18:02:00 -0700 |
---|---|---|
committer | Michael Larson <slioch@eng-140.vyatta.com> | 2008-06-06 18:02:00 -0700 |
commit | 46f998d055ee8247847b4043d30037973c6f5650 (patch) | |
tree | 73306b3e5fd496c56fbd774dee148d61ab48947f /scripts/vyatta-wanloadbalance.pl | |
parent | 60a196fa007e776558d12610a231d3f274bd9bdc (diff) | |
download | vyatta-wanloadbalance-46f998d055ee8247847b4043d30037973c6f5650.tar.gz vyatta-wanloadbalance-46f998d055ee8247847b4043d30037973c6f5650.zip |
added contract entry for state NEW for initial interface. Also add parameter to specify nexthop via interface in
interface-health. This will be mandatory, but currently it is optional in the absence of a migration script.
Diffstat (limited to 'scripts/vyatta-wanloadbalance.pl')
-rw-r--r-- | scripts/vyatta-wanloadbalance.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl index ef1f69f..2c64a5e 100644 --- a/scripts/vyatta-wanloadbalance.pl +++ b/scripts/vyatta-wanloadbalance.pl @@ -53,6 +53,11 @@ sub write_health { if (defined $option) { print FILE_LCK "\t\tsuccess-ct " . $option . "\n"; } + + $option = $config->returnValue("$ethNode nexthop"); + if (defined $option) { + print FILE_LCK "\t\tnexthop " . $option . "\n"; + } print FILE_LCK "\t}\n"; } print FILE_LCK "}\n\n"; |