From: Rafał Miłecki Date: Thu, 10 Jun 2021 11:20:41 +0000 (+0200) Subject: luci-mod-network: migrate more device options X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=fa51d04459b16245d33a1562159c65d4b03a32f0;p=project%2Fluci.git luci-mod-network: migrate more device options Include mtu and igmp_snooping while migrating. Signed-off-by: Rafał Miłecki --- 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 })); });