mirror of
https://github.com/openwrt/luci.git
synced 2026-10-14 11:16:52 +04:00
luci-app-olsr: re-add missing interface creation
commitc567bfcremoved 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 <victoria+openwrt@gratux.xyz> (cherry picked from commitd98f03e201)
This commit is contained in:
1 parent
cf6fbb71f7
commit
f883d904d6
2 files changed
+2
No files matched your search
@@ -483,6 +483,7 @@ return view.extend({
|
||||
};
|
||||
|
||||
ifs.handleAdd = function (ev) {
|
||||
uci.add('olsrd', 'Interface');
|
||||
uci
|
||||
.save()
|
||||
.then(function () {
|
||||
|
||||
@@ -462,6 +462,7 @@ return view.extend({
|
||||
ifs.template = 'cbi/tblsection';
|
||||
|
||||
ifs.handleAdd = function (ev) {
|
||||
uci.add('olsrd6', 'Interface');
|
||||
uci
|
||||
.save()
|
||||
.then(function () {
|
||||
|
||||
Reference in new issue
Block a user