summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/luasrc
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-11-08 09:34:09 +0000
committerManuel Munz <freifunk@somakoma.de>2011-11-08 09:34:09 +0000
commit6a3640cee27eedc55a6f8f5e4bac3041ab82a705 (patch)
treebd1042408022f82e3a47767adb2d331f8a58450e /modules/freifunk/luasrc
parent6907d1f2cd2ba62fbf32542c905373790b209717 (diff)
modules/freifunk: Fix display of warning about diversity
Diffstat (limited to 'modules/freifunk/luasrc')
-rw-r--r--modules/freifunk/luasrc/view/freifunk/adminindex.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/freifunk/luasrc/view/freifunk/adminindex.htm b/modules/freifunk/luasrc/view/freifunk/adminindex.htm
index 48e7d8beee..92169a80da 100644
--- a/modules/freifunk/luasrc/view/freifunk/adminindex.htm
+++ b/modules/freifunk/luasrc/view/freifunk/adminindex.htm
@@ -43,7 +43,7 @@ luci.i18n.loadc("freifunk")
local device = section[".name"]
local url = luci.dispatcher.build_url(luci.dispatcher.context.path[1], "network", "wireless")
if section.diversity ~= "0" and section.disabled ~= "1" and section.type ~= "mac80211" then
- print('<div class="error">' .. translate("Diversity is enabled for device") .. ' <b>' .. device .. '</b>. '
+ print('<div class="error">' .. translate("Diversity is enabled for device") .. ' <b>' .. section[".name"] .. '</b>. '
.. translate("Go to") .. ' <a href="' .. url .. '">' .. translate("wireless settings") .. '</a> ' ..
translate("to disable it.") .. '</div><p />')
end