check_junos_bgp: another typo

This commit is contained in:
Rico Glöckner 2013-02-28 08:34:35 +01:00
parent be62f38997
commit 57f3eba575

View file

@ -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'};
}