From: Rafał Miłecki <[email protected]>

Include mtu, igmp_snooping and igmp_v3 while migrating.

Signed-off-by: Rafał Miłecki <[email protected]>
---
 .../luci-static/resources/view/network/interfaces.js      | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

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 0847de905e..1e0b0e75e6 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
@@ -360,13 +360,19 @@ 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,
+                               'igmp_v3': ns.igmp_v3
                        }));
 
                        tasks.push(uci.callSet('network', ns['.name'], {
                                'type': '',
                                'ifname': '',
+                               'mtu': '',
                                'macaddr': '',
+                               'igmp_snooping': '',
+                               'igmp_v3': '',
                                'device': device_name
                        }));
                });
-- 
2.26.2


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to