fix ifname in wifi overview (freifunk public status).
authorManuel Munz <munz@comuno.net>
Sun, 28 Jun 2015 13:59:53 +0000 (15:59 +0200)
committerManuel Munz <munz@comuno.net>
Sun, 28 Jun 2015 14:10:04 +0000 (16:10 +0200)
modules/luci-mod-freifunk/luasrc/view/freifunk/public_status.htm

index 257f9caf155208323505a028d97234eae005eb88..fc3948ecc156e122ba9c9d362536be72960db54e 100644 (file)
@@ -299,7 +299,7 @@ end
                                if bitrate ~= "N/A" then
                                        bitrate = ( bitrate / 1000 ).."Mb/s"
                                end
-                               local interface = netiwdata.ifname or "N/A"
+                               local interface = net.iwinfo.ifname or "N/A"
        %>
                                                <tr class="cbi-section-table-row cbi-rowstyle-1">
                                                <td class="cbi-value-field" id="<%=net:ifname()%>-signal"><%=signal_string%></td>