git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
a2a5110
)
luci-app-travelmate: fix wireless scan
author
Dirk Brenken
<redacted>
Sun, 21 Oct 2018 06:37:56 +0000
(08:37 +0200)
committer
Dirk Brenken
<redacted>
Sun, 21 Oct 2018 06:37:56 +0000
(08:37 +0200)
* fix possible crash during wireless scan
when no valid WPA label was found
Signed-off-by: Dirk Brenken <redacted>
applications/luci-app-travelmate/luasrc/view/travelmate/wifi_scan.htm
patch
|
blob
|
history
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 ab3fe77fbc9415eb9bcd2b931ab80d9e3dfbe8fa..67568f179e19887248da00a1b5d9f50f7eb08abf 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT