Commit 475b98a4 authored by Robert Ricci's avatar Robert Ricci
Browse files

Make the regexps for switch version less annoyingly restrictive, and

take into the account the fact that it works now for 55xx series
parent 9fb9ef8f
......@@ -99,7 +99,7 @@ sub new($$$#@) {
# we weren't given devicenames for devices that aren't ciscos
SWITCH: for ($type) {
(/cisco6509/ || /cisco4006/ || /cisco2980/ || /catalyst2950/)
(/65\d\d/ || /40\d\d/ || /29\d\d/ || /55\d\d/)
&& do {
use snmpit_cisco;
$device = new snmpit_cisco($devicename,$self->{DEBUG},$type,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment