diff --git a/check_junos_bgp.pl b/check_junos_bgp.pl index a435a5e..e0f259d 100755 --- a/check_junos_bgp.pl +++ b/check_junos_bgp.pl @@ -346,7 +346,7 @@ sub get_neighbor_information $res = send_query($device, $query, \%args); } else { - my $res = send_query($device, $query); + $res = send_query($device, $query); } my $err;