Fix error in FWSM support patch that caused FWSMs to not be detected.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
8
Info.pm
8
Info.pm
@@ -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} ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user