summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2011-01-20 17:43:25 -0800
committerStig Thormodsrud <stig@vyatta.com>2011-01-20 18:18:17 -0800
commitea374cb1ccbe5921f56c0b797370dd47ab4819c1 (patch)
tree0bdfc88c499b1fb5190c7810041d42fb6dabee2a /scripts
parentf69f23b5549ac625eac68ede478a5005d2758b21 (diff)
downloadvyatta-cfg-quagga-ea374cb1ccbe5921f56c0b797370dd47ab4819c1.tar.gz
vyatta-cfg-quagga-ea374cb1ccbe5921f56c0b797370dd47ab4819c1.zip
Remove call to tshark during vrrp state transition.
(cherry picked from commit f2ff192de653b5540c9a3e51cf4d1cf19d527e4e)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/keepalived/vyatta-vrrp-state.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/keepalived/vyatta-vrrp-state.pl b/scripts/keepalived/vyatta-vrrp-state.pl
index 89e000f7..e4da85eb 100755
--- a/scripts/keepalived/vyatta-vrrp-state.pl
+++ b/scripts/keepalived/vyatta-vrrp-state.pl
@@ -67,8 +67,9 @@ if (defined $old_state and $vrrp_state eq $old_state) {
Vyatta::Keepalived::vrrp_log("$vrrp_intf $vrrp_group transition to $vrrp_state");
vrrp_state_log($vrrp_state, $vrrp_intf, $vrrp_group);
if ($vrrp_state eq 'backup') {
- Vyatta::Keepalived::snoop_for_master($vrrp_intf, $vrrp_group, $vrrp_vips[0],
- 60);
+ # comment out for now, too expensive with lots of vrrp's at boot
+ # Vyatta::Keepalived::snoop_for_master($vrrp_intf, $vrrp_group,
+ # $vrrp_vips[0], 60);
} elsif ($vrrp_state eq 'master') {
#
# keepalived will send gratuitous arp requests on master transition