luci-base: Fixed delayed portstatus loading on R7800

Signed-off-by: Nicolas Thumann <me@n-thumann.de>
This commit is contained in:
Nicolas Thumann 2020-08-02 17:59:53 +02:00 committed by nthumann
parent fbe7af3655
commit c4b617a7a6
No known key found for this signature in database
GPG key ID: 91AE26F52DE54B76

View file

@ -368,7 +368,7 @@ local methods = {
break
end
local pnum = line:match("^Port (%d+):")
local pnum = line:match("^Port (%d+):$")
if pnum then
port = {
port = tonumber(pnum),