Fix error in FWSM support patch that caused FWSMs to not be detected.

This commit is contained in:
Brian de Wolf
2010-10-04 23:34:14 +00:00
parent cacb0777b7
commit 6c88df1ac0
2 changed files with 6 additions and 4 deletions

View File

@@ -19,6 +19,8 @@ version 2.02 ()
classes (jeroenvi) classes (jeroenvi)
* Minor tweaks to support devices without sysServices * Minor tweaks to support devices without sysServices
* Added Cisco CBS3xxx blade switches to L3::C6500 * Added Cisco CBS3xxx blade switches to L3::C6500
* Fix for FWSMs not being detected properly. Special thanks goes to
Jukka Pirhonen for pointing it out. (Brian De Wolf)
version 2.01 (06/12/09) version 2.01 (06/12/09)
+ Added CiscoStpExtensions Class (Carlos Vicente) + Added CiscoStpExtensions Class (Carlos Vicente)

View File

@@ -1292,6 +1292,10 @@ sub device_type {
$objtype = 'SNMP::Info::Layer2::Allied' $objtype = 'SNMP::Info::Layer2::Allied'
if ( $desc =~ /Allied.*AT-80\d{2}\S*/i ); if ( $desc =~ /Allied.*AT-80\d{2}\S*/i );
# Cisco FWSM
$objtype = 'SNMP::Info::Layer3::CiscoFWSM'
if ( $desc =~ /Cisco Firewall Services Module/i );
# Generic device classification based upon sysObjectID # Generic device classification based upon sysObjectID
if ( ( $objtype eq 'SNMP::Info::Layer3' ) if ( ( $objtype eq 'SNMP::Info::Layer3' )
and ( defined($id) ) and ( defined($id) )
@@ -1442,10 +1446,6 @@ sub device_type {
$objtype = 'SNMP::Info::Layer3::Cisco' $objtype = 'SNMP::Info::Layer3::Cisco'
if ( $desc =~ /Cisco Adaptive Security Appliance/i ); if ( $desc =~ /Cisco Adaptive Security Appliance/i );
# Cisco FWSM
$objtype = 'SNMP::Info::Layer3::CiscoFWSM'
if ( $desc =~ /Cisco Firewall Services Module/i );
# Generic device classification based upon sysObjectID # Generic device classification based upon sysObjectID
if ( defined($id) ) { if ( defined($id) ) {
if ( defined $l3sysoidmap{$id} ) { if ( defined $l3sysoidmap{$id} ) {