From 9fc965d095d23dce3c63ebf9243cc2f34360d825 Mon Sep 17 00:00:00 2001 From: Eric Miller <> Date: Tue, 21 Feb 2006 03:25:41 +0000 Subject: [PATCH] try to capture all the names --- Info/Layer2/Baystack.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Info/Layer2/Baystack.pm b/Info/Layer2/Baystack.pm index 6fd2358a..e437fa05 100644 --- a/Info/Layer2/Baystack.pm +++ b/Info/Layer2/Baystack.pm @@ -137,7 +137,7 @@ sub model { return '303' if (defined $descr and $descr =~ /\D303\D/); return '304' if (defined $descr and $descr =~ /\D304\D/); return 'BPS' if ($model =~ /BPS2000/i); - return $2 if ($model =~ /(BayStack|EthernetRoutingSwitch|EthernetSwitch)(\d+)/); + return $2 if ($model =~ /(ES|ERS|BayStack|EthernetRoutingSwitch|EthernetSwitch)(\d+)/); return $model; }