From 7cd6b385e0890b2a35ac9718e16a6f9a861cb98b Mon Sep 17 00:00:00 2001 From: hitech95 Date: Fri, 26 Apr 2024 21:40:40 +0200 Subject: [PATCH] luci-mod-network: ifname_multi -> ifname_multi-bridge MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This is to prepare for the bonding implementation, two configuration nodes cannot share the same name. Probably a more unique and precise naming would be better. Signed-off-by: Nicolò Veronese --- .../htdocs/luci-static/resources/tools/network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ab297f9576..f7427f6d11 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 @@ -577,7 +577,7 @@ return baseclass.extend({ o.depends('type', '8021q'); o.depends('type', '8021ad'); - o = this.replaceOption(s, 'devgeneral', widgets.DeviceSelect, 'ifname_multi', _('Bridge ports')); + o = this.replaceOption(s, 'devgeneral', widgets.DeviceSelect, 'ifname_multi-bridge', _('Bridge ports')); o.size = 10; o.rmempty = true; o.multiple = true; -- 2.30.2