From fa51d04459b16245d33a1562159c65d4b03a32f0 Mon Sep 17 00:00:00 2001 From: Rafał Miłecki Date: Thu, 10 Jun 2021 13:20:41 +0200 Subject: luci-mod-network: migrate more device options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Include mtu and igmp_snooping while migrating. Signed-off-by: Rafał Miłecki --- .../htdocs/luci-static/resources/view/network/interfaces.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/luci-mod-network/htdocs/luci-static/resources/view') diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index 694d43141f..a8fa727da7 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -368,13 +368,17 @@ return view.extend({ 'name': device_name, 'type': 'bridge', 'ports': L.toArray(ns.ifname), - 'macaddr': ns.macaddr + 'mtu': ns.mtu, + 'macaddr': ns.macaddr, + 'igmp_snooping': ns.igmp_snooping })); tasks.push(uci.callSet('network', ns['.name'], { 'type': '', 'ifname': '', + 'mtu': '', 'macaddr': '', + 'igmp_snooping': '', 'device': device_name })); }); -- cgit v1.2.3