Explorar o código

check_junos_bgp: another typo

Rico Glöckner %!s(int64=12) %!d(string=hai) anos
pai
achega
57f3eba575
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'}; 
 		}