projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c16090
)
luci-base: fix regular expression in network.Protocol.getDevices()
author
Jo-Philipp Wich
<jo@mein.io>
Fri, 5 Jul 2019 10:00:11 +0000
(12:00 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Sun, 7 Jul 2019 13:36:26 +0000
(15:36 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/network.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/network.js
b/modules/luci-base/htdocs/luci-static/resources/network.js
index 978fabae68f6c4671497565a75ff3dea3d6f78a9..cfaec34298e3ee750f7a4c730684cca11f4b9756 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/network.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/network.js
@@
-1539,7
+1539,7
@@
Protocol = L.Class.extend({
if (ifnames[i].charAt(0) == '@')
continue;
- var m = ifnames[i].match(/^([:/]+)/);
+ var m = ifnames[i].match(/^([
^
:/]+)/);
if (m != null)
rv.push(L.network.instantiateDevice(m[1], this));
}