summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-10-21 22:39:21 +0200
committerGitHub <noreply@github.com>2018-10-21 22:39:21 +0200
commitc1cc626cc5bee1eeabebf56edfd5597c1fc84337 (patch)
tree435f1b33719a3a120d977027b8721c9031065218
parent696cb9fe803fc6f479459abadba17f823b5ba108 (diff)
parent9232cee7a447484d86984648c51a846d2ffd45c3 (diff)
Merge pull request #2239 from dibdot/travelmate
luci-app-travelmate: fix wireless scan
-rw-r--r--applications/luci-app-travelmate/luasrc/view/travelmate/wifi_scan.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-travelmate/luasrc/view/travelmate/wifi_scan.htm b/applications/luci-app-travelmate/luasrc/view/travelmate/wifi_scan.htm
index ab3fe77fb..67568f179 100644
--- a/applications/luci-app-travelmate/luasrc/view/travelmate/wifi_scan.htm
+++ b/applications/luci-app-travelmate/luasrc/view/travelmate/wifi_scan.htm
@@ -18,7 +18,7 @@ This is free software, licensed under the Apache License, Version 2.0
if info.wep == true then
return translate("WEP")
elseif info.wpa > 0 then
- return "%s (%s/%s)" %{label[info.wpa], table.concat(info.auth_suites), table.concat(info.group_ciphers)}
+ return "%s (%s/%s)" %{label[info.wpa] or translate("Unknown"), table.concat(info.auth_suites), table.concat(info.group_ciphers)}
elseif info.enabled then
return translate("Unknown")
else