summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 978fabae6..cfaec3429 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));
}