% local data, viewlibrary, page_info = ...
require("htmlviewfunctions")
%>
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
end %>
<%= html.html_escape(data.label) %>
<%
htmlviewfunctions.displayitem(data.value.status)
%>
- <%= html.html_escape(data.value.peers_list.label) %>
-
<%
local found
for intf,addresses in pairs(data.value.peers_list.value) do
found = true
%>
<%= html.html_escape(intf) %> | |
<% for i,entries in ipairs(addresses) do
io.write(" " .. html.html_escape(entries["Protocol-Address"].value) .. " | |
\n")
for j,entry in pairs(entries) do
if j ~= "Protocol-Address" then
io.write(""..html.html_escape(entry.label).." | "..html.html_escape(entry.value))
if entry.descr then
io.write(" (" .. html.html_escape(entry.descr) .. ")")
end
io.write(" |
\n")
end
end
end
io.write("\t\t\t
")
end
if not found then io.write("No peers found\n") end
%>