summaryrefslogtreecommitdiff
path: root/scripts/keepalived/vyatta-show-vrrp.pl
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-05-23 20:39:24 -0700
committerStig Thormodsrud <stig@vyatta.com>2008-05-23 20:39:24 -0700
commit0cf777376bdf5b347afffff8b5ffe56b269f6614 (patch)
tree16da7e311d77360ec6a44ddf236b956f5ceecf62 /scripts/keepalived/vyatta-show-vrrp.pl
parentdf805435059fce399a070dab8d8497d0ec72b951 (diff)
downloadvyatta-cfg-quagga-0cf777376bdf5b347afffff8b5ffe56b269f6614.tar.gz
vyatta-cfg-quagga-0cf777376bdf5b347afffff8b5ffe56b269f6614.zip
Fix vrrp snoop_for_master() to also work with AH authentication.
Diffstat (limited to 'scripts/keepalived/vyatta-show-vrrp.pl')
-rwxr-xr-xscripts/keepalived/vyatta-show-vrrp.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/keepalived/vyatta-show-vrrp.pl b/scripts/keepalived/vyatta-show-vrrp.pl
index 4910e092..98fb376e 100755
--- a/scripts/keepalived/vyatta-show-vrrp.pl
+++ b/scripts/keepalived/vyatta-show-vrrp.pl
@@ -151,6 +151,7 @@ sub get_master_info {
$master_ip = $1;
} else {
$master_ip = "unknown";
+ system("mv $master_file /tmp");
}
my $priority = `grep vrrp.prio $master_file`;