fix warning plugintools
This commit is contained in:
parent
7991c6fd54
commit
c4444e9f9c
|
@ -2366,7 +2366,8 @@ sub snmp_data_switcher {
|
|||
}
|
||||
|
||||
if ($data{type} eq "generic_data"){
|
||||
($data{data} = $pure_data) =~ s/[^-\d]//gr;
|
||||
$data{data} = $pure_data;
|
||||
$data{data} =~ s/[^-\d]//g;
|
||||
}
|
||||
|
||||
return \%data;
|
||||
|
|
Loading…
Reference in New Issue