diff options
author | Daniil Baturin <daniil@vyos.io> | 2021-11-30 16:29:23 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-30 16:29:23 +0700 |
commit | ac518f1494fd1f014c90d3354eabbb7e33a22f30 (patch) | |
tree | fa9f2f1b669050f03d9baf01e8c344c5bfec7b42 /scripts | |
parent | e796b6a9dbf8eaa66b746a75c3211d9ea7ac458b (diff) | |
parent | 69a6a8a153b8c53de66bfb9c72a113bd42afa989 (diff) | |
download | vyatta-wanloadbalance-lithium.tar.gz vyatta-wanloadbalance-lithium.zip |
Merge pull request #6 from EwaldvanGeffen/lithiumlithium
Bug 590 & 363
Diffstat (limited to 'scripts')
-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 9603c48..58f1cf3 100644 --- a/scripts/vyatta-wanloadbalance.pl +++ b/scripts/vyatta-wanloadbalance.pl @@ -49,6 +49,11 @@ sub write_health { print FILE_LCK "health {\n"; + my $post_hook = $config->returnValue("load-balancing wan post-hook"); + if (defined $post_hook) { + print FILE_LCK "post-hook \"" . $post_hook . "\"\n"; + } + $config->setLevel("load-balancing wan interface-health"); my @eths = $config->listNodes(); foreach my $ethNode (@eths) { |