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:
parent
bec437fffd
commit
8af2b997ad
|
@ -812,7 +812,7 @@ sub get_iface_name
|
||||||
sub get_iface_status
|
sub get_iface_status
|
||||||
{
|
{
|
||||||
my $iface = shift;
|
my $iface = shift;
|
||||||
return get_obj_element($iface, 'admin-status');
|
return get_obj_element($iface, 'oper-status');
|
||||||
}
|
}
|
||||||
|
|
||||||
sub verbose
|
sub verbose
|
||||||
|
|
Loading…
Reference in a new issue