Raisecom RC. more wide regexp HW
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user