+ Fix extra-oid display
This commit is contained in:
parent
62b5ef62ac
commit
004ada7399
|
@ -172,10 +172,8 @@ sub run {
|
||||||
|
|
||||||
my $extra_values = $self->get_extra_values_by_instance(instance => $_);
|
my $extra_values = $self->get_extra_values_by_instance(instance => $_);
|
||||||
my $extra_display = '';
|
my $extra_display = '';
|
||||||
my $extra_display_append = ' ';
|
|
||||||
foreach my $name (keys %{$extra_values}) {
|
foreach my $name (keys %{$extra_values}) {
|
||||||
$extra_display .= $extra_display_append . $name . ' = ' . $extra_values->{$name};
|
$extra_display .= ', ' . $name . ' = ' . $extra_values->{$name};
|
||||||
$extra_display_append = ', ';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$self->{output}->output_add(long_msg => "'" . $display_value . "' [speed = $interface_speed, status = " .
|
$self->{output}->output_add(long_msg => "'" . $display_value . "' [speed = $interface_speed, status = " .
|
||||||
|
|
Loading…
Reference in New Issue