C2970 and C2960 were not being correctly recognized if has_layer(3) was true

This commit is contained in:
Carlos Vicente
2010-11-16 00:41:00 +00:00
parent 4fb63d8a7b
commit fb9813af51

View File

@@ -1260,6 +1260,10 @@ sub device_type {
$objtype = 'SNMP::Info::Layer3::C6500'
if $desc =~ /(s72033_rp|s3223_rp|s32p3_rp|s222_rp)/;
# Cisco 2970
$objtype = 'SNMP::Info::Layer3::C6500'
if ( $desc =~ /(C2970|C2960)/ );
# Cisco 3400 w/ Layer3 capable image
$objtype = 'SNMP::Info::Layer3::C3550'
if ( $desc =~ /(ME340x)/ );