From e06f4db88cf7f306accf9415d162c0f64eb2511d Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Sun, 1 Aug 2010 11:07:54 -0700 Subject: Add vrrp parameters to transition script. (cherry picked from commit 1b22d1bbcf8146736d9f69d1edb57a36e55f6fdc) --- scripts/keepalived/vyatta-vrrp-state.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3