From 3227540322e7456fc7135cd01a3e1855ece5c58a Mon Sep 17 00:00:00 2001 From: Eric Miller <> Date: Wed, 25 Jan 2006 19:30:18 +0000 Subject: [PATCH] capture more models --- Info/Layer2/Orinoco.pm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Info/Layer2/Orinoco.pm b/Info/Layer2/Orinoco.pm index 7832f8df..b92e4b4e 100644 --- a/Info/Layer2/Orinoco.pm +++ b/Info/Layer2/Orinoco.pm @@ -1,8 +1,8 @@ # SNMP::Info::Layer2::Orinoco -# Eric Miller +# Eric Miller # $Id$ # -# Copyright (c) 2004 Eric Miller +# Copyright (c) 2004-6 Eric Miller # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -103,8 +103,7 @@ sub model { my $descr = $orinoco->description(); return undef unless defined $descr; - return 'AP-1000' if ($descr =~ /AP-1000/); - return 'AP-2000' if ($descr =~ /AP-2000/); + return $1 if ($descr =~ /(AP-\d+)/); return 'WavePOINT-II' if ($descr =~ /WavePOINT-II/); return undef; } @@ -158,7 +157,7 @@ SNMP::Info::Layer2::Orinoco - SNMP Interface to Orinoco Series Access Points =head1 AUTHOR -Eric Miller (C) +Eric Miller =head1 SYNOPSIS