From 57f3eba575735156787ae2262016a86fc3ce71e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rico=20Gl=C3=B6ckner?= Date: Thu, 28 Feb 2013 08:34:35 +0100 Subject: [PATCH] check_junos_bgp: another typo --- check_junos_bgp.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_junos_bgp.pl b/check_junos_bgp.pl index fed868a..a435a5e 100755 --- a/check_junos_bgp.pl +++ b/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'}; }