git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@6345 6bcd3966-0018-0410-8128-fd23d134de7e

This commit is contained in:
Julien Mathis 2008-08-25 13:57:08 +00:00
parent 0d2bf41445
commit 42e5d5936c
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ if ($opt_n) {
exit $ERRORS{'UNKNOWN'};
}
foreach my $key ( oid_lex_sort(keys %$result)) {
$result->{$key} =~ s/\x00//g; //Added line to strip the illegal character off.
$result->{$key} =~ s/\x00//g;
if ($result->{$key} eq $opt_i) {
my @oid_list = split (/\./,$key);
$interface = pop (@oid_list) ;