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

@@ -7,6 +7,7 @@ version 1.04
+ Added generic L2::Cisco Class
* Corrected detection for Cisco Supervisor Engine 2 and 32 (IOS).
* Fixed warnings in CiscoStack
* Updated ProCurve HP device detection for newer firmwares
version 1.03 (04/14/06) - Beta/developer release
* Use ipNetToMedia table instead of atTable for ARP

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/);