summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static/resources/view
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-06-10 13:20:41 +0200
committerRafał Miłecki <rafal@milecki.pl>2021-06-12 23:01:28 +0200
commitfa51d04459b16245d33a1562159c65d4b03a32f0 (patch)
treee9489e2718018b487c36d34f10d1f16d4f1593ca /modules/luci-mod-network/htdocs/luci-static/resources/view
parentbb3269945c7f189e1d1de1e7979d79d30a860b03 (diff)
luci-mod-network: migrate more device options
Include mtu and igmp_snooping while migrating. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources/view')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js6
1 files changed, 5 insertions, 1 deletions
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
}));
});