summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs/luci-static
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base/htdocs/luci-static')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/network.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/network.js b/modules/luci-base/htdocs/luci-static/resources/network.js
index 978fabae68..cfaec34298 100644
--- 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));
}