diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js | 4 |
1 files changed, 3 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 78b952eff7..fe00b90b68 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 @@ -326,12 +326,14 @@ return view.extend({ tasks.push(uci.callAdd('network', 'device', null, { 'name': device_name, 'type': 'bridge', - 'ports': L.toArray(ns.ifname) + 'ports': L.toArray(ns.ifname), + 'macaddr': ns.macaddr })); tasks.push(uci.callSet('network', ns['.name'], { 'type': '', 'ifname': '', + 'macaddr': '', 'device': device_name })); }); |