From 46f998d055ee8247847b4043d30037973c6f5650 Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Fri, 6 Jun 2008 18:02:00 -0700 Subject: 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. --- scripts/vyatta-wanloadbalance.pl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') 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"; -- cgit v1.2.3