summaryrefslogtreecommitdiff
path: root/scripts/keepalived/vyatta-show-vrrp.pl
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-01-21 19:00:21 -0800
committerStig Thormodsrud <stig@vyatta.com>2008-01-21 19:00:21 -0800
commitc3f28ce3332dfa5ccc3ac658df876d7cd444eea5 (patch)
tree119ca2b780798772ab7980f7e01ceae3be93c7f1 /scripts/keepalived/vyatta-show-vrrp.pl
parentb45bba4286e83f8babcd70eef908f2ea2f8fff3c (diff)
downloadvyatta-cfg-quagga-c3f28ce3332dfa5ccc3ac658df876d7cd444eea5.tar.gz
vyatta-cfg-quagga-c3f28ce3332dfa5ccc3ac658df876d7cd444eea5.zip
All vrrp to be configured on vif
Diffstat (limited to 'scripts/keepalived/vyatta-show-vrrp.pl')
-rwxr-xr-xscripts/keepalived/vyatta-show-vrrp.pl2
1 files changed, 1 insertions, 1 deletions
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) {