check_centreon_snmp_traffic fails when used against an iSeries system

git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@12690 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
Sylvestre Ho 2011-11-09 10:20:54 +00:00
parent cf2d6d4b0e
commit 1240d3a5e7
1 changed files with 1 additions and 0 deletions

View File

@ -296,6 +296,7 @@ if ($opt_n) {
my @resLine = split(/\;/, $row);
$resLine[1] =~ s/\x00//g;
$resLine[1] =~ s/\n//g;
$resLine[1] =~ s/\s*$//g;
if ($resLine[1] eq $opt_i) {
$interface = $resLine[0];
}