diff --git a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd.js b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd.js index 5955449d36..44e5c860ca 100644 --- a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd.js +++ b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd.js @@ -483,6 +483,7 @@ return view.extend({ }; ifs.handleAdd = function (ev) { + uci.add('olsrd', 'Interface'); uci .save() .then(function () { diff --git a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js index 164183de49..81cbf3287c 100644 --- a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js +++ b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js @@ -462,6 +462,7 @@ return view.extend({ ifs.template = 'cbi/tblsection'; ifs.handleAdd = function (ev) { + uci.add('olsrd6', 'Interface'); uci .save() .then(function () {