Browse Source

check_junos_bgp: another typo

Rico Glöckner 12 years ago
parent
commit
57f3eba575
1 changed files with 1 additions and 1 deletions
  1. 1 1
      check_junos_bgp.pl

+ 1 - 1
check_junos_bgp.pl

@@ -336,7 +336,7 @@ sub get_neighbor_information
 	my $res;
 	my %args;
 
-	if ($conf{'logical-router'} || $conf{'instance'}) {
+	if (($conf{'logical-router'} ne '') || ($conf{'instance'} ne '')) {
 		if ($conf{'logical-router'} ne '') {
 			$args{'logical-router'} = $conf{'logical-router'}; 
 		}