Raisecom RC. more wide regexp HW

This commit is contained in:
Andrey Pazychev
2020-05-20 22:23:27 +03:00
parent 84c870f911
commit 82032a10e1

View File

@@ -100,7 +100,7 @@ sub main {
#All another known ways to HW
while (not defined($hw)) {
$obj->hw_oid_8886_6_140 =~ /.*[v,V]ersion\s+(.*)/;
$obj->hw_oid_8886_6_140 =~ /.*[v,V]ersion[:,\s]*(.*)/;
$hw = $1 if defined $1;
last;
}