소스 검색

check_junos_bgp: another typo

Rico Glöckner 12 년 전
부모
커밋
57f3eba575
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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'}; 
 		}