check_junos_vc: Query the oper status rather than the admin status.

The latter indicates that the interface has been en-/disabled by the admin.
This commit is contained in:
Sebastian Harl 2011-12-15 15:18:12 +01:00
parent bec437fffd
commit 8af2b997ad

View file

@ -812,7 +812,7 @@ sub get_iface_name
sub get_iface_status
{
my $iface = shift;
return get_obj_element($iface, 'admin-status');
return get_obj_element($iface, 'oper-status');
}
sub verbose