diff options
author | Guido L <LipkeGu@users.noreply.github.com> | 2016-06-10 01:55:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-10 01:55:33 +0200 |
commit | 1e7466bbda363c296b6d173486eee96681af0b83 (patch) | |
tree | 8e842cf64da06030e329228841ffb9ccb04661d7 /contrib/package/freifunk-mapupdate | |
parent | 0b8bfed7c24178b803a5642ebe6fcd95871d9799 (diff) |
luci-mod-freifunk: Fix "Undefined reference to net.iwdata"
This PR fixes an Internal Server Error when requesting the Wireless Informations in luci-mod-freifunk.
It checks an unindexed value "net.iwdata".
```
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute template dispatcher target for entry '/freifunk/status'. The called action terminated with an exception: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'freifunk/public_status'.
A runtime error occured: [string "/usr/lib/lua/luci/view/freifunk/public_stat..."]:116: attempt to index field 'iwdata' (a nil value) stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:141: in function...
```
signed-off.by: Guido Lipke <lipkegu@gmail.com>
Diffstat (limited to 'contrib/package/freifunk-mapupdate')
0 files changed, 0 insertions, 0 deletions