summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/htdocs/luci-static/resources/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-12-30 15:08:00 +0100
committerGitHub <noreply@github.com>2022-12-30 15:08:00 +0100
commit9eaf2502405e6c42ba358737ade22cb5772cd453 (patch)
tree77bd7eae9d169f149dcd3a6479246ad083c3602a /modules/luci-mod-status/htdocs/luci-static/resources/view
parent727ac3740144ce60682f7d4824591832849f50e8 (diff)
parenta18b1a6beabb5d58ea7ddfa9ffb13c513290382c (diff)
Merge pull request #6176 from ldir-EDB0/neighfix
luci-mod-status: fix neighbour display
Diffstat (limited to 'modules/luci-mod-status/htdocs/luci-static/resources/view')
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js
index 9b9b06e223..3bcddf6aa7 100644
--- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js
@@ -87,7 +87,7 @@ return view.extend({
res = [];
for (var i = 0; i < lines.length; i++) {
- var m = lines[i].match(/^([0-9a-f:.]+) (.+) (\S+)$/),
+ var m = lines[i].match(/^([0-9a-f:.]+) (.+) (\S+) *$/),
addr = m ? m[1] : null,
flags = m ? m[2].trim().split(/\s+/) : [],
state = (m ? m[3] : null) || 'FAILED';