diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-12 05:06:34 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-12 05:06:34 +0000 |
commit | 7b23839dce0c09953142a5af946ab642027bc3c5 (patch) | |
tree | 256b7c8701415a95ea925716ccea2e56659f1721 /modules/admin-full | |
parent | a11d6e2a612c46e0593488d0e5f07d0b0ff19136 (diff) |
modules/admin-full: fix arp lookup in wifi overview
Diffstat (limited to 'modules/admin-full')
-rw-r--r-- | modules/admin-full/luasrc/view/admin_network/wifi_overview.htm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm index f9526ac184..4ccee76c07 100644 --- a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm +++ b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm @@ -183,14 +183,14 @@ $Id$ <td class="cbi-value-field"><img src="<%=guess_wifi_signal(net:signal_level(info.signal, info.noise))%>" title="Signal: <%=info.signal%> dBm / Noise: <%=info.noise%> dBm" /></td> <td class="cbi-value-field"><%=net:active_ssid()%></td> <td class="cbi-value-field"><%=mac%></td> - <td class="cbi-value-field"><%=arpcache[mac] or "n/a"%></td> + <td class="cbi-value-field"><%=arpcache[mac:lower()] or "n/a"%></td> <td class="cbi-value-field"><%=info.signal%> dBm</td> <td class="cbi-value-field"><%=info.noise%> dBm</td> </tr> <% end %> <% end %> <% end %> - <% if count <= 0 then %> + <% if count < 0 then %> <tr class="cbi-section-table-row cbi-rowstyle-2"> <td class="cbi-value-field" colspan="6"> <em>No information available</em> |