From fc4d9cac24723383abcbf63596188afaa1ee2d15 Mon Sep 17 00:00:00 2001 From: Eric Miller <> Date: Wed, 20 Jun 2007 03:09:24 +0000 Subject: [PATCH] Remove i_ignore(), use Layer2 definition. --- Info/Layer2/Baystack.pm | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/Info/Layer2/Baystack.pm b/Info/Layer2/Baystack.pm index 34f41ce4..716d68d3 100644 --- a/Info/Layer2/Baystack.pm +++ b/Info/Layer2/Baystack.pm @@ -1,6 +1,5 @@ # SNMP::Info::Layer2::Baystack # Eric Miller -# $Id$ # # Copyright (c) 2004-6 Max Baker changes from version 0.8 and beyond. # All rights reserved. @@ -30,6 +29,8 @@ package SNMP::Info::Layer2::Baystack; $VERSION = '1.05'; + +# $Id$ use strict; use Exporter; @@ -136,19 +137,6 @@ sub model { return $model; } -sub i_ignore { - my $baystack = shift; - my $i_type = $baystack->i_type(); - - my %i_ignore; - foreach my $if (keys %$i_type){ - my $type = $i_type->{$if}; - next unless defined $type; - $i_ignore{$if}++ if $type =~ /(54|loopback|propvirtual|cpu)/i; - } - return \%i_ignore; -} - sub interfaces { my $baystack = shift; my $partial = shift;