diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js b/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js index 2ca28ee950..66d4eae9e2 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js @@ -53,16 +53,6 @@ function deviceSectionExists(section_id, devname) { exists = exists || (ss['.name'] != section_id && ss.name == devname /* && !ss.type*/); }); - /* Until http://lists.openwrt.org/pipermail/openwrt-devel/2020-July/030397.html lands, - prevent redeclaring interface bridges */ - if (!exists) { - var m = devname.match(/^br-([A-Za-z0-9_]+)$/), - s = m ? uci.get('network', m[1]) : null; - - if (s && s['.type'] == 'interface' && s.type == 'bridge') - exists = true; - } - return exists; } |