luci-base: Fixed delayed portstatus loading on R7800 4326/head
authorNicolas Thumann <me@n-thumann.de>
Sun, 2 Aug 2020 15:59:53 +0000 (17:59 +0200)
committernthumann <me@n-thumann.de>
Sun, 2 Aug 2020 18:08:20 +0000 (20:08 +0200)
Signed-off-by: Nicolas Thumann <me@n-thumann.de>
modules/luci-base/root/usr/libexec/rpcd/luci

index 7f0c0b226c16df454677fa7075d74540884b67af..1d46ad276c808b18c0093544fcc27121a289727c 100755 (executable)
@@ -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),