diff options
author | Manuel Munz <freifunk@somakoma.de> | 2010-12-05 15:02:44 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2010-12-05 15:02:44 +0000 |
commit | 8a37f5600685b44848116e9670d14a7c255564e4 (patch) | |
tree | cb6c7c8bb240ff5e3ab8299e883e2789c208d13f /applications/luci-olsr/luasrc/view/status-olsr/hna.htm | |
parent | 7d9af5b7bb60b1e2dfeb37e7d37106cc3c12517f (diff) |
applications/luci-olsr: Add Hostnames, show v6 infos. Most parts of this are from patrick(at)lunatiki(dot)de again, thanks.
Diffstat (limited to 'applications/luci-olsr/luasrc/view/status-olsr/hna.htm')
-rw-r--r-- | applications/luci-olsr/luasrc/view/status-olsr/hna.htm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/hna.htm b/applications/luci-olsr/luasrc/view/status-olsr/hna.htm index 0e153bbbc3..a7a14e4fad 100644 --- a/applications/luci-olsr/luasrc/view/status-olsr/hna.htm +++ b/applications/luci-olsr/luasrc/view/status-olsr/hna.htm @@ -24,7 +24,12 @@ $Id$ <% for k, route in ipairs(routes) do %> <tr> <td><%=route.Destination%></td> -<td><a href="http://<%=route.Gateway%>"><%=route.Gateway%></a></td> +<td> +<a href="http://<%=route.Gateway%>/cgi-bin-status.html"><%=route.Gateway%></a> +<% if route.Hostname then %> + / <a href="http://<%=route.Hostname%>/cgi-bin-status.html"><%=route.Hostname%></a> +<% end %> +</td> </tr> <% end %> </table> |