diff options
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js | 2 |
1 files changed, 1 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 98b51c8a8b..0847de905e 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 @@ -392,7 +392,7 @@ return view.extend({ var tasks = []; this.deviceWithIfnameSections().forEach(function(ds) { - tasks.push(uci.add('network', ds['.name'], { + tasks.push(uci.callSet('network', ds['.name'], { 'ifname': '', 'ports': L.toArray(ds.ifname) })); |