summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-11-30 16:29:23 +0700
committerGitHub <noreply@github.com>2021-11-30 16:29:23 +0700
commitac518f1494fd1f014c90d3354eabbb7e33a22f30 (patch)
treefa9f2f1b669050f03d9baf01e8c344c5bfec7b42 /scripts
parente796b6a9dbf8eaa66b746a75c3211d9ea7ac458b (diff)
parent69a6a8a153b8c53de66bfb9c72a113bd42afa989 (diff)
downloadvyatta-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.pl5
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) {