luci-mod-network: ifname_multi -> ifname_multi-bridge
authorhitech95 <nicveronese@gmail.com>
Fri, 26 Apr 2024 19:40:40 +0000 (21:40 +0200)
committerPaul Donald <newtwen+github@gmail.com>
Thu, 19 Dec 2024 17:43:44 +0000 (17:43 +0000)
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 <nicveronese@gmail.com>
modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js

index ab297f9576e660c3be14e661dba1c0ee23567489..f7427f6d11559cd563cfa1de181067b79019fc02 100644 (file)
@@ -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;