Skip to content

Commit

Permalink
luci-app-ffwizard-falter: use meshmode_radioN instead of mode_radioN
Browse files Browse the repository at this point in the history
Due to inconsistancies in the lua script, both fields
mode_radioN and meshmode_radioN were being used.  This
fixes this to use only meshmode_radioN

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
  • Loading branch information
pmelange authored and Akira25 committed Nov 11, 2021
1 parent 9096975 commit 987e8fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion luci/luci-app-ffwizard-falter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk

LUCI_TITLE:=Freifunk Berlin configuration wizard
LUCI_EXTRA_DEPENDS:=luci-compat, luci-mod-admin-full, falter-policyrouting, luci-lib-jsonc, falter-profiles, luci-lib-ipkg
PKG_RELEASE:=6
PKG_RELEASE:=7

include ../include-luci.mk

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ uci:foreach("wireless", "wifi-device",
if ( "mesh" ~= ifaceSection["mode"] and "adhoc" ~= ifaceSection["mode"] ) then
return
end
local meshmode = f:field(ListValue, "mode_" .. device, devicename,
local meshmode = f:field(ListValue, "meshmode_" .. device, devicename,
translate("The ") .. devicename ..
translate(" device is currently set to <strong>") ..
((ifaceSection["mode"] == "adhoc") and translate("Ad-Hoc") or translate("802.11s")) ..
Expand Down

0 comments on commit 987e8fe

Please sign in to comment.