summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-08-01 11:07:54 -0700
committerStig Thormodsrud <stig@vyatta.com>2010-08-17 11:59:37 -0700
commite06f4db88cf7f306accf9415d162c0f64eb2511d (patch)
tree1628db54aafb0fbf5e9626d7b3b904d4e2b7a677 /scripts
parent79b06335ed6d275772b00f4274ff67c114c88141 (diff)
downloadvyatta-cfg-quagga-e06f4db88cf7f306accf9415d162c0f64eb2511d.tar.gz
vyatta-cfg-quagga-e06f4db88cf7f306accf9415d162c0f64eb2511d.zip
Add vrrp parameters to transition script.
(cherry picked from commit 1b22d1bbcf8146736d9f69d1edb57a36e55f6fdc)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/keepalived/vyatta-vrrp-state.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/keepalived/vyatta-vrrp-state.pl b/scripts/keepalived/vyatta-vrrp-state.pl
index 9bb54a0c..89e000f7 100755
--- a/scripts/keepalived/vyatta-vrrp-state.pl
+++ b/scripts/keepalived/vyatta-vrrp-state.pl
@@ -88,7 +88,7 @@ if ($vrrp_state eq 'backup') {
}
if (!($vrrp_transitionscript eq 'null')){
- exec("$vrrp_transitionscript");
+ exec("$vrrp_transitionscript $vrrp_state $vrrp_intf $vrrp_group");
}
exit 0;