From 795ae41d6801b2a8337225fb9e8a5d7910ba5c7c Mon Sep 17 00:00:00 2001 From: Max Baker <> Date: Tue, 20 Jun 2006 04:34:59 +0000 Subject: [PATCH] changed detection of HP ProCurve devices. New firmware doesn't have the string HP in the description... maybe we should use OIDs :-) --- ChangeLog | 1 + Info.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 329f3ad8..11dcbed5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/Info.pm b/Info.pm index 770182b2..00a7d41f 100644 --- a/Info.pm +++ b/Info.pm @@ -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/);