removed cat/catalyst from model()

This commit is contained in:
Max Baker
2003-02-13 19:43:53 +00:00
parent 7a8967d924
commit 7d29cf4c13
2 changed files with 6 additions and 1 deletions

View File

@@ -29,6 +29,7 @@
package SNMP::Info::Layer3;
$VERSION = 0.1;
# $Id$
use strict;
@@ -146,6 +147,8 @@ sub model {
my $model = &SNMP::translateObj($id);
$model =~ s/^cisco//i;
$model =~ s/^catalyst//;
$model =~ s/^cat//;
return $model;
}