changed detection of HP ProCurve devices. New firmware doesn't have the string HP in the description... maybe we should use OIDs :-)

This commit is contained in:
Max Baker
2006-06-20 04:34:59 +00:00
parent 2e17b5c64a
commit 795ae41d68
2 changed files with 2 additions and 1 deletions

View File

@@ -930,7 +930,7 @@ sub device_type {
$objtype = 'SNMP::Info::Layer3::Extreme' if $desc =~ /Summit\s*\d/;
# HP
$objtype = 'SNMP::Info::Layer2::HP' if ($desc =~ /HP.*ProCurve/);
$objtype = 'SNMP::Info::Layer2::HP' if ($desc =~ /\bProCurve\b/);
# Centillion ATM
$objtype = 'SNMP::Info::Layer2::Centillion' if ($desc =~ /MCP/);