diff --git a/includes/polling/os/dnos.inc.php b/includes/polling/os/dnos.inc.php index 9b3f1a1d57..59d13dc210 100644 --- a/includes/polling/os/dnos.inc.php +++ b/includes/polling/os/dnos.inc.php @@ -17,7 +17,8 @@ if (preg_match('/Dell Networking N[1234].*/' , $temp_hardware) == 1) { // If De $features = snmp_get($device, 'productIdentificationDescription.0', '-Ovq', 'Dell-Vendor-MIB'); } else { // Assume S-series - list(,,$version,$hardware,,) = explode(PHP_EOL, $poll_device['sysDescr']); + $sysDescr = preg_replace('/[\r]+/',' ', $poll_device['sysDescr']); + list(,,$version,$hardware,,) = explode(PHP_EOL, $sysDescr); list(,$version) = explode(': ',$version); list(,$hardware) = explode(': ',$hardware); }