From f883d904d6496e55ae44b414f1fefdfedfff369d Mon Sep 17 00:00:00 2001 From: Victoria Grain Date: Sat, 4 Jul 2026 20:30:35 +0200 Subject: [PATCH] luci-app-olsr: re-add missing interface creation commit c567bfc removed the uci.add() call to create a new interface, seemingly without considering its side-effects. this lead to trying to configure a non-existant interface, resulting in an empty settings page. Signed-off-by: Victoria Grain (cherry picked from commit d98f03e201055470bbd2d936d66ad590a0be17c2) --- .../htdocs/luci-static/resources/view/olsr/frontend/olsrd.js | 1 + .../htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js | 1 + 2 files changed, 2 insertions(+) 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 () {