From c5fe50aa67024d4d71c8207d3f8c5961f8567f24 Mon Sep 17 00:00:00 2001 From: Max Baker <> Date: Thu, 13 Feb 2003 19:47:11 +0000 Subject: [PATCH] added 450 exclusion in model() --- Info/Layer2/Bay.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Info/Layer2/Bay.pm b/Info/Layer2/Bay.pm index 1413d216..a7d95109 100644 --- a/Info/Layer2/Bay.pm +++ b/Info/Layer2/Bay.pm @@ -1,5 +1,7 @@ +# SNMP::Info::Layer2::Bay +# Max Baker # -# Copyright (c) 2002, Regents of the University of California +# Copyright (c) 2002,2003 Regents of the University of California # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -24,11 +26,10 @@ # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# SNMP::Info::Layer2::Bay -# Max Baker package SNMP::Info::Layer2::Bay; $VERSION = 0.1; +# $Id$ use strict; use Exporter; @@ -122,6 +123,7 @@ sub model { return '303' if ($descr =~ /\D303\D/); return '304' if ($descr =~ /\D304\D/); + return '450' if ($model =~ /BayStack450/); return $model; }