Fix some model error for 3Com and H3C devices

This commit is contained in:
Ambroise
2017-12-21 16:54:22 +01:00
parent 02a52a4e09
commit 058b74bd63
2 changed files with 16 additions and 0 deletions

View File

@@ -73,6 +73,8 @@ sub model {
my $descr = $dsmodel->description();
if ( $descr =~ /^([\S ]+) Software.*/){
return $1;
} else {
return $descr;
}
}