From fb9813af515f5d3f8a051bc5120d5cfd90880d85 Mon Sep 17 00:00:00 2001 From: Carlos Vicente <> Date: Tue, 16 Nov 2010 00:41:00 +0000 Subject: [PATCH] C2970 and C2960 were not being correctly recognized if has_layer(3) was true --- Info.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Info.pm b/Info.pm index e189511a..b12eb521 100644 --- a/Info.pm +++ b/Info.pm @@ -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)/ );