From c3f28ce3332dfa5ccc3ac658df876d7cd444eea5 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 21 Jan 2008 19:00:21 -0800 Subject: All vrrp to be configured on vif --- scripts/keepalived/vyatta-show-vrrp.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/keepalived/vyatta-show-vrrp.pl') diff --git a/scripts/keepalived/vyatta-show-vrrp.pl b/scripts/keepalived/vyatta-show-vrrp.pl index 9228eeeb..93c1ecd2 100755 --- a/scripts/keepalived/vyatta-show-vrrp.pl +++ b/scripts/keepalived/vyatta-show-vrrp.pl @@ -149,7 +149,7 @@ sub vrrp_show { # my $intf = "eth"; my $group = "all"; -if ($#ARGV == 0) { +if ($#ARGV >= 0) { $intf = $ARGV[0]; } if ($#ARGV == 1) { -- cgit v1.2.3