mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-29 09:52:35 +00:00
endp-pm: Future proof against removing a spurious comma.
This commit is contained in:
@@ -316,7 +316,7 @@ sub decode {
|
||||
if ($got_endp) {
|
||||
|
||||
if ( $ln =~
|
||||
/Shelf:\s+(\d+)\,\s+Card:\s+(\d+)\s+Port:\s+(\d+)\s+Endpoint:\s+(\d+)\s+Type:\s+(\S+)\s+Pattern:\s+(\S+)/
|
||||
/Shelf:\s+(\d+)\,*\s+Card:\s+(\d+)\s+Port:\s+(\d+)\s+Endpoint:\s+(\d+)\s+Type:\s+(\S+)\s+Pattern:\s+(\S+)/
|
||||
)
|
||||
{
|
||||
$self->shelf_id($1);
|
||||
|
||||
Reference in New Issue
Block a user